Re: [boost] Do-nothing binary function

2003-08-30 Thread Brian McNamara
On Thu, Aug 28, 2003 at 03:59:19PM +0400, Vladimir Prus wrote: Would it be desirabe to have such class? I'm thinking about struct do_nothing { templateclass T void operator()(const T) const {} templateclass T1, class T2 void operator()(const T1 t1, const T2

Re: [boost] Do-nothing binary function

2003-08-28 Thread Peter Dimov
Vladimir Prus wrote: Hi, just now I've nearly comitted the following addition to one of BGL headers: + struct null_property_copier { +templateclass V1, class V2 +void operator()(const V1, const V2) const {} + }; + What stopped me is that is not BGL specific at all. Is there