libpniio
Data Structures | Public Member Functions
pni::io::nx::stl::insert Struct Reference

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...
 

Detailed Description

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.

Member Function Documentation

template<typename C , typename Arg1 , typename Arg2 , typename Arg3 >
void pni::io::nx::stl::insert::operator() ( C &  c,
Arg1 const &  arg1,
Arg2 const &  arg2,
Arg3 const &  arg3 
) const
inline

Implementation of the insert operation. This is rather simple the function just calls the containers insert function.

Template Parameters
Ccontainer type
Arg1type of the first argument
Arg2type of the second argument
Arg3type of the third argument
Parameters
creference to the container
arg1first argument
arg2second argument
arg3third argument

The documentation for this struct was generated from the following file: