|
Re: Lambda questions: msg#00303lib.boost.user
> Is it possible to discern one-argument lambda expressions from > two-argument expressions ? I would like to do something like this: Currently no. Can you tell a bit more where you would need this kind of feature. It is possible to make this possible if there is real need. /Jaakko > > template<typename UNARY_LAMBDA_FUNC> > void f(UNARY_LAMBDA_FUNC ulf) { > ulf(arg); > } > > template<typename BINARY_LAMBDA_FUNC> > void f(BINARY_LAMBDA_FUNC blf) { > blf(arg1, arg2); > } > > > -Claus > > > > Yahoo! Groups Sponsor > ADVERTISEMENT > > Info: <http://www.boost.org> > Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl> > Unsubscribe: <mailto:boost-users-unsubscribe@xxxxxxxxxxxxxxx> > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > -- -- -- Jaakko Järvi email: jajarvi@xxxxxxxxxxxxxx -- Post Doctoral Fellow phone: +1 (812) 855-3608 -- Pervasive Technology Labs fax: +1 (812) 855-4829 -- Indiana University, Bloomington ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/EbFolB/TM ---------------------------------------------------------------------~-> Info: <http://www.boost.org> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl> Unsubscribe: <mailto:boost-users-unsubscribe@xxxxxxxxxxxxxxx> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: ublas::matrix sharing storage with ublas::vecto r: 00303, Scott Sinclair |
|---|---|
| Next by Date: | RE: Is intrusive_ptr the thing to use?: 00303, Hickman, Greg |
| Previous by Thread: | Lambda questionsi: 00303, Claus Rasmussen |
| Next by Thread: | Re: Lambda questions: 00303, Claus Rasmussen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |