![]() |
fpmas 1.6
|
#include <functional.h>
Public Member Functions | |
template<typename Container > | |
Container | operator() (Container &init, const Container &c) const |
A function object that can be used to concatenate two containers.
|
inline |
Call operator.
Elements of c
are inserted at the end of init
, that is finally returned.
In order to avoid useless copies, init
is moved upon return.
init | current container, in which items of c will be inserted. |
c | items to add to init |
init
and c
Container | container type (automatically deduced in most contexts) |