Boost logo

Boost Users :

From: Pfligersdorffer, Christian (Christian.Pfligersdorffer_at_[hidden])
Date: 2007-06-15 08:05:15


boost-users-bounces_at_[hidden] 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 

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net