Re: [boost] functor adapter

2002-11-22 Thread Douglas Gregor
On Friday 22 November 2002 09:28 am, Martin Bosticky wrote: > Hi > > I have I not a template boost guru but i have developed a 'functor adapter' > that I think could be usefull. To best of my knowledge the following is > currently not provided by boost library yet. Please let me know otherwise. > >

Re: [boost] functor adapter

2002-11-22 Thread Peter Dimov
From: "Martin Bosticky" <[EMAIL PROTECTED]> [...] > Example: > > struct Option > { > string m_Name; > string m_OptionParameters; > }; > > vector AVector_vec; > ... > > // Find the preffered option > vector::iterator AVector_it = > find_if > ( > AVector.begin(), > AVector.en

[boost] functor adapter

2002-11-22 Thread Martin Bosticky
Hi I have I not a template boost guru but i have developed a 'functor adapter' that I think could be usefull. To best of my knowledge the following is currently not provided by boost library yet. Please let me know otherwise. Functor adapter: adaptor2ndArgument and other appropriate variants can