27 Feb
2013
27 Feb
'13
7:02 p.m.
On 2/27/2013 5:09 AM, boost-users-request-at-lists.boost.org |Boost/Allow to home| wrote:
In fact even when initialized inline, an out of line definition should always be provided as different compilers have different ideas about what constitutes "use" of the variable (rather than just the value). MSVC pretty much never requires an out-of-line definition for example, where as GCC will often generate linker errors if you don't provide it. The problem is that MSVC is _prohibiting_ an out-of-line definition! (Visual Studio 2010)