
27 Nov
2007
27 Nov
'07
6:26 p.m.
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.