]> git.lyx.org Git - lyx.git/blobdiff - src/support/numpunct_lyx_char_type.h
Remove non-copyable idioms
[lyx.git] / src / support / numpunct_lyx_char_type.h
index 272b49a3f5610220fa69da2d9e0cac05104504bb..7ec661c29fd786f55c5dc8ad34a4c11ea5aa015d 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Peter Kümmel
+ * \author Peter Kümmel
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -41,11 +41,9 @@ namespace std
                string grouping() const
                { return numpunct<char>::grouping(); }
 
-               string_type truename() const
-               { return lyx::from_ascii(numpunct<char>::truename()); }
-
-               string_type falsename() const
-               { return lyx::from_ascii(numpunct<char>::falsename()); }
+               // Implementation can be found in docstream.cpp
+               string_type truename() const;
+               string_type falsename() const;
 
 
        protected:
@@ -53,7 +51,8 @@ namespace std
 
        };
 
-
+       // Fixed in VC11:
+       // http://connect.microsoft.com/VisualStudio/feedback/details/572376/msvc10-c-std-numpunct-has-a-hardcoded-dllimport-in-definition
 
 }
 #endif