
23 Oct
2013
23 Oct
'13
10:58 a.m.
Krzysztof Czainski wrote:
I omitted two cases: SkipFunctor and AssertFunctor. I'm not sure how to do that, nor do I see a potential use case for those ;-)
SkipFunctor: boost::bind( skip_ ), where void skip_() {} boost::bind( FalseFunctor ) also works. AssertFunctor: boost::bind( assert_, false ), where void assert_( bool x ) { assert( x ); }