logo       

Re: Lambda questions: msg#00303

lib.boost.user

Subject: Re: Lambda questions

> 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>
Google Custom Search

News | FAQ | advertise