Boost logo

Boost :

From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2002-03-30 10:00:42


Hello,

boost::bind doesn't compile under Comeau 4.2.45.2c BETA#5 (almost latest
version). This is one of the errors it emits:

"d:\\boost_1_27_0\\boost/bind/mem_fn_vw.hpp", line 19: error: "inner_mf0" is
          not a nonstatic data member or base class of class
          "boost::_mfi::mf0<R, T>"
      explicit BOOST_MEM_FN_NAME(mf0)(F f): mf<R>::BOOST_NESTED_TEMPLATE
BOOST_M
EM_FN_NAME2(mf0)<R, T, F>(f) {}

The code is a bit tough to understand, so I'm not sure whether it triggers a
bug in Comeau or it's simply non-standard. Anybody knows a possible
work-around? I'd like to keep using boost and still being able to compile in
strict mode.

Thanks
Giovanni Bajo


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