ug4
|
Go to the source code of this file.
Macros | |
#define | end_for } |
Allows iteration over all members of an std::vector compatible type. More... | |
#define | for_each_in_vec(_vfeDecl, _vfeVec) |
Allows iteration over all members of an std::vector compatible type. More... | |
#define end_for } |
Allows iteration over all members of an std::vector compatible type.
Use e.g. like this:
The '{' and '}' brackets are hereby optional, since a new block is automatically defined between 'for_each_in_vec' and 'end_for'.
The specified vector has to feature methods 'T& operator[](size_t i)' and 'size_t size()'.
#define for_each_in_vec | ( | _vfeDecl, | |
_vfeVec | |||
) |
Allows iteration over all members of an std::vector compatible type.
Use e.g. like this:
The '{' and '}' brackets are hereby optional, since a new block is automatically defined between 'for_each_in_vec' and 'end_for'.
The specified vector has to feature methods 'T& operator[](size_t i)' and 'size_t size()'.