Boost logo

Boost Users :

From: Robert Dailey (rcdailey_at_[hidden])
Date: 2007-11-27 13:26:35


Hi,

I heard from someone that when building a shared library (DLL file), the
compiler will not do the same processing of MPL code that it would do for an
EXE. For example:

struct Foo
{
    static const float val = 1.5f;
};

When exporting the 'Foo' class to a shared library, what will become of the
'val' member? Is just the number "1.5f" written out or what? I've given a
very simple example, but the more complex example expands into the
boost::mpl library, which follows the same concepts.



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