Date: Wednesday, December 21, 2005 @ 13:05:44
Author: marc
Path: /cvsroot/carob/carob/include
Modified: StringCodecs.hpp (1.3 -> 1.4)
Clarified comment about MBSCodec default constructor
------------------+
StringCodecs.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Index: carob/include/StringCodecs.hpp
diff -u carob/include/StringCodecs.hpp:1.3 carob/include/StringCodecs.hpp:1.4
--- carob/include/StringCodecs.hpp:1.3 Mon Dec 19 12:43:58 2005
+++ carob/include/StringCodecs.hpp Wed Dec 21 13:05:44 2005
@@ -56,8 +56,10 @@
std::string encode(const std::wstring&) const throw (CodecException);
std::wstring decode(const std::string&) const throw (CodecException);
- // ctor for the default converter using user-defined locale (typically
LANG, LC_etc)
- // Use: MBSCodec(locale::classic()) for instance if you want the C locale
+ // Default constructor for the default converter, using
+ // user-defined locale (typically LANG, LC_etc). If you want the
+ // C locale instead of this LANG-one use for instance this CTOR:
+ // MBSCodec(locale::classic())
MBSCodec() :
loc(std::locale("")),
codecvt (std::use_facet<mbs_codecvt>(loc))
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits