summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-09-20 20:19:28 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-09-20 20:19:28 +0800
commitb2599d497471ae58b0afae42d9c8e08efa6c0c6d (patch)
treed053c84a28c6fbf5bbbece2a1084f01565385980
parent169cce1e7477041435db7dbb8d92685214ec8f79 (diff)
downloadglibmm-b2599d497471ae58b0afae42d9c8e08efa6c0c6d.tar.gz
ustring.h: Comment On Last Commit for Specialization
Mention that the new specialization for Stringify for const char[N] is to avoid ambiguous constructor overloads for later versions of Visual C++. * glib/glibmm/ustring.h: Mention in the comments for the specialization on Stringify for const char[N] is for later versions of Visual C++, to avoid ambiguous contructor overloads. https://bugzilla.gnome.org/show_bug.cgi?id=736778
-rw-r--r--glib/glibmm/ustring.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h
index 69b67333..c93a7d7e 100644
--- a/glib/glibmm/ustring.h
+++ b/glib/glibmm/ustring.h
@@ -1327,7 +1327,8 @@ public:
};
/** A template specialization for Stringify<const char[N]> (for string literals),
- * because the regular template has ambiguous constructor overloads for char*.
+ * because the regular template has ambiguous constructor overloads for char*
+ * on later versions of Visual C++ (2008 and later at least).
*/
template <std::size_t N>
class ustring::Stringify<const char[N]>