
Hi Peter, it help for some of the errors, but one is still there: bind.hpp(1691): error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>' ------------------
c:\projekte\boost\1.40.0\boost\bind\bind.hpp(1657): warning C4180: qualifier applied to function type has no meaning; ignored 2> c:\projekte\boost\1.40.0\boost\bind\bind.hpp(1691) : see reference to class template instantiation 'boost::_bi::add_cref<Pm,I>' being compiled 2> with 2> [ 2> Pm=FileTime<UTC> (__thiscall File::* )(void), 2> I=1 2> ] 2> c:\projekte\ps3controlmodule\productformattingasd\fileadmin.cpp(399) : see reference to class template instantiation 'boost::_bi::dm_result<Pm,A1>' being compiled 2> with 2> [ 2> Pm=FileTime<UTC> (__thiscall File::* )(void), 2> A1=boost::arg<1> 2> ] 2>c:\projekte\boost\1.40.0\boost\bind\bind.hpp(1691): error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>' 2> with 2> [ 2> Pm=FileTime<UTC> (File::* )(void), 2> I=1 2> ] 2> c:\projekte\ps3controlmodule\productformattingasd\fileadmin.cpp(402) : see reference to class template instantiation 'boost::_bi::dm_result<Pm,A1>' being compiled 2> with 2> [ 2> Pm=FileTime<UTC> (__thiscall File::* )(void), 2> A1=boost::arg<2> 2> ] 2> 2>Build FAILED.
2009/11/3 Peter Dimov <pdimov@pdimov.com>
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. :-) _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost