|
Boost : |
From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2003-07-04 10:15:06
Hi,
I am trying to use bind with __fastcall member funtion.
Just including bind.hpp with BOOST_BIND_ENABLE_FASTCALL defined is giving
compile
errors on bcc 5.5 and cbuilder 6 with patch 4.
Am I missing something, or is this broken?
Hugo
#define BOOST_BIND_ENABLE_FASTCALL
#define BOOST_MEM_FN_ENABLE_FASTCALL
#include "boost/bind.hpp"
Error E2188 c:\usr\boost\boost/bind/bind_cc.hpp 17: Expression syntax
+ Full parser context
+ bind_test.cpp, line 24: #include c:\usr\boost\boost/bind.hpp
+ c:\usr\boost\boost/bind.hpp, line 42: namespace boost
+ c:\usr\boost\boost/bind.hpp, line 1496: #include
c:\usr\boost\boost/bind/bind_cc.hpp
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk