Boost logo

Boost :

From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2004-02-14 11:42:48


At Thursday 2004-02-12 07:43, you wrote:
>I'd like to have a variable act as a function call. For example:
>
> Foo& getFoo();
>
> foo; // really calls getFoo

you're saying there is a function which reruns a reference to a foo and you
want it called when you just say
         foo;
you're throwing away the return?
mayhaps you should re-think what you're trying to do

>Is there a boost way to do this?
>
>Thanks,
>Noel
>--
>NOTICE: If received in error, please destroy and notify sender. Sender
>does not waive confidentiality or privilege, and use is prohibited.
>_______________________________________________
>Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk