$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Adi Shavit (adish_at_[hidden])
Date: 2005-05-09 02:46:04
> You can switch to boost::lambda::bind and use &_1, or you can write
> address_of:
>
> template<class T> T * address_of( T & t ) { return &t; }
>
> and use
>
> boost::bind( myFun, boost::bind( &address_of<int>, _1 ) );
Thanks!
I thought it should be that simple, I just assumed there would be such
an adapter already inside boost.
Thanks again,
Adi