libpniio
|
custom inserter More...
#include <insert.hpp>
Data Structures | |
class | result |
result type More... | |
Public Member Functions | |
template<typename C , typename Arg1 , typename Arg2 , typename Arg3 > | |
void | operator() (C &c, Arg1 const &arg1, Arg2 const &arg2, Arg3 const &arg3) const |
insert implementation More... | |
This is a specialized version of the standard STL inserter provided by boost::spirit. The original version includes a return statement though the return type of the () operator is void. This situation was recognized as an error by g++ 4.9.. To get a clean build this stripped down version was neccessary.
|
inline |
Implementation of the insert operation. This is rather simple the function just calls the containers insert function.
C | container type |
Arg1 | type of the first argument |
Arg2 | type of the second argument |
Arg3 | type of the third argument |
c | reference to the container |
arg1 | first argument |
arg2 | second argument |
arg3 | third argument |