summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-04-23 12:28:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-04-23 12:28:11 +0200
commitdd0738f695d935d0bec5eea09de5548238b7b410 (patch)
tree24926c02188a9ab6d6015919c9d1f192d4fbc7ae
parent553b867ebe9dab0a1117f8b088c35d01879727b7 (diff)
Use complete specialization signatures
-rw-r--r--libxsd/xsd/cxx/tree/bits/literals.ixx76
1 files changed, 38 insertions, 38 deletions
diff --git a/libxsd/xsd/cxx/tree/bits/literals.ixx b/libxsd/xsd/cxx/tree/bits/literals.ixx
index e11bcac..260a9e7 100644
--- a/libxsd/xsd/cxx/tree/bits/literals.ixx
+++ b/libxsd/xsd/cxx/tree/bits/literals.ixx
@@ -311,133 +311,133 @@ namespace xsd
//
template <>
inline const char*
- ex_error_error ()
+ ex_error_error<char> ()
{
return " error: ";
}
template <>
inline const char*
- ex_error_warning ()
+ ex_error_warning<char> ()
{
return " warning: ";
}
template <>
inline const char*
- ex_parsing_msg ()
+ ex_parsing_msg<char> ()
{
return "instance document parsing failed";
}
template <>
inline const char*
- ex_eel_expected ()
+ ex_eel_expected<char> ()
{
return "expected element '";
}
template <>
inline const char*
- ex_uel_expected ()
+ ex_uel_expected<char> ()
{
return "expected element '";
}
template <>
inline const char*
- ex_uel_instead ()
+ ex_uel_instead<char> ()
{
return "' instead of '";
}
template <>
inline const char*
- ex_uel_unexpected ()
+ ex_uel_unexpected<char> ()
{
return "unexpected element '";
}
template <>
inline const char*
- ex_eat_expected ()
+ ex_eat_expected<char> ()
{
return "expected attribute '";
}
template <>
inline const char*
- ex_uen_unexpected ()
+ ex_uen_unexpected<char> ()
{
return "unexpected enumerator '";
}
template <>
inline const char*
- ex_etc_msg ()
+ ex_etc_msg<char> ()
{
return "expected text content";
}
template <>
inline const char*
- ex_nti_no_type_info ()
+ ex_nti_no_type_info<char> ()
{
return "no type information available for type '";
}
template <>
inline const char*
- ex_nei_no_element_info ()
+ ex_nei_no_element_info<char> ()
{
return "no parsing or serialization information available for "
"element '";
}
template <>
inline const char*
- ex_nd_type ()
+ ex_nd_type<char> ()
{
return "type '";
}
template <>
inline const char*
- ex_nd_not_derived ()
+ ex_nd_not_derived<char> ()
{
return "' is not derived from '";
}
template <>
inline const char*
- ex_di_id ()
+ ex_di_id<char> ()
{
return "ID '";
}
template <>
inline const char*
- ex_di_already_exist ()
+ ex_di_already_exist<char> ()
{
return "' already exist";
}
template <>
inline const char*
- ex_serialization_msg ()
+ ex_serialization_msg<char> ()
{
return "serialization failed";
}
template <>
inline const char*
- ex_npm_no_mapping ()
+ ex_npm_no_mapping<char> ()
{
return "no mapping provided for namespace prefix '";
}
template <>
inline const char*
- ex_bounds_msg ()
+ ex_bounds_msg<char> ()
{
return "buffer boundary rules have been violated";
}
@@ -737,133 +737,133 @@ namespace xsd
//
template <>
inline const wchar_t*
- ex_error_error ()
+ ex_error_error<wchar_t> ()
{
return L" error: ";
}
template <>
inline const wchar_t*
- ex_error_warning ()
+ ex_error_warning<wchar_t> ()
{
return L" warning: ";
}
template <>
inline const wchar_t*
- ex_parsing_msg ()
+ ex_parsing_msg<wchar_t> ()
{
return L"instance document parsing failed";
}
template <>
inline const wchar_t*
- ex_eel_expected ()
+ ex_eel_expected<wchar_t> ()
{
return L"expected element '";
}
template <>
inline const wchar_t*
- ex_uel_expected ()
+ ex_uel_expected<wchar_t> ()
{
return L"expected element '";
}
template <>
inline const wchar_t*
- ex_uel_instead ()
+ ex_uel_instead<wchar_t> ()
{
return L"' instead of '";
}
template <>
inline const wchar_t*
- ex_uel_unexpected ()
+ ex_uel_unexpected<wchar_t> ()
{
return L"unexpected element '";
}
template <>
inline const wchar_t*
- ex_eat_expected ()
+ ex_eat_expected<wchar_t> ()
{
return L"expected attribute '";
}
template <>
inline const wchar_t*
- ex_uen_unexpected ()
+ ex_uen_unexpected<wchar_t> ()
{
return L"unexpected enumerator '";
}
template <>
inline const wchar_t*
- ex_etc_msg ()
+ ex_etc_msg<wchar_t> ()
{
return L"expected text content";
}
template <>
inline const wchar_t*
- ex_nti_no_type_info ()
+ ex_nti_no_type_info<wchar_t> ()
{
return L"no type information available for type '";
}
template <>
inline const wchar_t*
- ex_nei_no_element_info ()
+ ex_nei_no_element_info<wchar_t> ()
{
return L"no parsing or serialization information available for "
L"element '";
}
template <>
inline const wchar_t*
- ex_nd_type ()
+ ex_nd_type<wchar_t> ()
{
return L"type '";
}
template <>
inline const wchar_t*
- ex_nd_not_derived ()
+ ex_nd_not_derived<wchar_t> ()
{
return L"' is not derived from '";
}
template <>
inline const wchar_t*
- ex_di_id ()
+ ex_di_id<wchar_t> ()
{
return L"ID '";
}
template <>
inline const wchar_t*
- ex_di_already_exist ()
+ ex_di_already_exist<wchar_t> ()
{
return L"' already exist";
}
template <>
inline const wchar_t*
- ex_serialization_msg ()
+ ex_serialization_msg<wchar_t> ()
{
return L"serialization failed";
}
template <>
inline const wchar_t*
- ex_npm_no_mapping ()
+ ex_npm_no_mapping<wchar_t> ()
{
return L"no mapping provided for namespace prefix '";
}
template <>
inline const wchar_t*
- ex_bounds_msg ()
+ ex_bounds_msg<wchar_t> ()
{
return L"buffer boundary rules have been violated";
}