¡@

Home 

c++ Programming Glossary: maket

Is it possible to use boost::filter_iterator for output?

http://stackoverflow.com/questions/7254131/is-it-possible-to-use-boostfilter-iterator-for-output

for ease of use you'd write boost copy data transformed makeT filtered validate indirected std back_inserter queue Here is.. boost optional int T typedef std deque T Q static T makeT int i if i 2 return T else return i static bool validate const.. an int as an input range boost copy data transformed makeT filtered validate std back_inserter q demo output 2 4 6 8 printed..