Boost logo

Boost :

Subject: Re: [boost] Boost using MS Visual Studio 2010 - C2027
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-11-03 13:13:35


Christofer Weßeling wrote:
> hi!
>
> ok.. - "wrap the member function in mem_fn. " can you give me some
> dummy
> code how to do that, or another hint...
> wrapping in case of packing it into another namespace or {..} ?

You now have boost::bind( &File::get_file_time, _2 ), right? Change it to

    boost::bind( boost::mem_fn( &File::get_file_time ), _2 )

and see if it helps. I hope it does. :-)


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