
13 Mar
2010
13 Mar
'10
4:56 p.m.
AMDG John Maddock wrote:
2) I notice you saying that you're getting linker errors - that should only happen if you're taking the address of the constants somewhere - if that's a use case that you want to support, then you need a definition for the constants somewhere - suitably guarded by the right Boost.Config macros (sorry can't remember what off the top of my head).
I seem to recall getting linker errors passing such constants to functions that take a const reference parameter. (like std::vector::push_back.) In Christ, Steven Watanabe