template<typename T>
struct DGtal::concepts::CBackInsertable< T >
Aim: Represents types for which a std::back_insert_iterator can be constructed with std::back_inserter. Back Insertion Sequence are refinements of CBackInsertable. They require more services than CBackInsertable, for instance read services or erase services.
Description of concept 'CBackInsertable'
Refinement of
Associated types :
- value_type: the type of object that can be inserted at the back.
Notation
- X : A type that is a model of CBackInsertable
- x : object of type X
- e : object of type value_type
Definitions
Valid expressions and semantics
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
Add to back | x.push_back( e ) | | | | adds the element e at the end of object x | | |
Invariants
Models
Notes
- Template Parameters
-
Definition at line 95 of file CBackInsertable.h.