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 { > template > void operator()(const T&) const {} > > template >void operator()(const T1& t1, const T2& t2) const {} > >

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 { > +template > +void operator()(const V1&, const V2&) const {} > + }; > + > > What stopped me is that is not BGL specific at all. Is there some > c