Re: [Boost-users] [Serialization] BOOST_CLASS_EXPORT_GUID() destroyingnamespace
15 Jun
2007
15 Jun
'07
12:05 p.m.
boost-users-bounces@lists.boost.org wrote:
Hi,
When i put the script BOOST_CLASS_EXPORT_GUID() into my code directly after the definition of my base class and derived classes, my namespace seems to be broken. The classes are defined in my namespace "water". When i put the script into the code, it fails to find boost::bind in the source file! THe compiler searches for bind in the namespace "water::boost". But without the script it compiles fine! Someone got a clue whats wrong? Kind Regards Manuel Jung
That's because you need to close any namespace before invoking the macro. Regards, -- DI Christian Pfligersdorffer Software Engineering EOS GmbH
6363
Age (days ago)
6363
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pfligersdorffer, Christian