|
Boost.dynamic_anyHeader < boost/dynamic_any/operations.hpp> |
increment
{{Introductory text}}
increment
Unary function that accepts its sole argument of any type by non-const reference.
namespace boost { namespace dynamic_any { struct increment : function<increment, void (arg &)> { template<class T> void call(T & a) const { ++a; } }; } } // namespace boost { namespace dynamic_any {
a
is an object of any to which increment
applies increment()(a)
- Postconditions: {{text}}
- Returns: {{text}}
- Throws: {{text}}
- Complexity: {{text}}
- Note: {{text}}
- Danger: {{text}}
- Rationale: {{text}}
- Requires: {{text}}
- Effects: {{text}}
- Postconditions: {{text}}
- Returns: {{text}}
- Throws: {{text}}
- Complexity: {{text}}
- Note: {{text}}
- Danger: {{text}}
- Rationale: {{text}}
Functions
{{function}}
- Requires: {{text}}
- Effects: {{text}}
- Postconditions: {{text}}
- Returns: {{text}}
- Throws: {{text}}
- Complexity: {{text}}
- Note: {{text}}
- Danger: {{text}}
- Rationale: {{text}}
Objects
Example(s)
{{Example(s)}}
Revised
05 November, 2001
© Copyright Alexander Nasonov
2002-2003. All Rights Reserved.