8 Dec
2009
8 Dec
'09
3:26 p.m.
2009/12/8 Vadim Guchenko
Hello, All!
Is there a simple way to create a functor that returns one of its arguments _1, _2, ...?
In Boost.Lambda _2 is a functor that returns its second argument and constant(true) is a functor that always returns true. The same works with Boost.Phoenix. Roman Perepelitsa.