Compile error for (char based) STL (stream) containers in Visual Studio
问题 This is basically the same question as [SO]: C2491: 'std::numpunct<_Elem>::id' : definition of dllimport static data member not allowed [closed], but considering the following facts: That (on my opinion) is a perfectly valid question (according to [SO]: How to create a Minimal, Complete, and Verifiable example), I really don't know why some users felt the urge of closing it The answer marked as a solution provides guidelines the for fixing the error (in general), but doesn't apply to current