Skip to content

Commit

Permalink
Fix some wrapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadden committed Oct 1, 2020
1 parent b9c87ce commit 680ab00
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/basic-signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ actual persistent C++ object associated with that signal.
Capabilities
------------
In C++, when you want to pass a `std::string` parameter into a function, you might do so using `std::string`, `std::string&`, `std::string const&` or even `std::string&&` depending on the intended usage. Each, in effect, conveys a different set of capabilities to the function receiving the parameter: the ability to write back to the string, the ability to move it efficiently somewhere else, the ability to refer to it by reference, etc. In alia, a signal's type carries a similar set of information as a 'capabilities' type tag.
In C++, when you want to pass a `std::string` parameter into a function, you
might do so using `std::string`, `std::string&`, `std::string const&` or even
`std::string&&` depending on the intended usage. Each, in effect, conveys a
different set of capabilities to the function receiving the parameter: the
ability to write back to the string, the ability to move it efficiently
somewhere else, the ability to refer to it by reference, etc. In alia, a
signal's type carries a similar set of information as a 'capabilities' type
tag.
Capabilities will be discussed more in depth later on. For now, it's sufficient
to understand that not all signals have the same capabilities with respect to
Expand Down

0 comments on commit 680ab00

Please sign in to comment.