From 2a5f4935e89990dc061a1a238e3acd8ca2e234db Mon Sep 17 00:00:00 2001 From: Chris Jefferson Date: Wed, 17 Feb 2010 21:09:10 +0000 Subject: [PATCH] locale_facets.h (__convert_to_v): Add empty exception-specification. 2010-02-17 Chris Jefferson * include/bits/locale_facets.h (__convert_to_v): Add empty exception-specification. From-SVN: r156837 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/bits/locale_facets.h | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5eff61ac963..7bed5183125 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2010-02-17 Chris Jefferson + + * include/bits/locale_facets.h (__convert_to_v): Add empty + exception-specification. + 2010-02-17 Paolo Carlini * include/std/limits: Implement resolution of DR 559 (CD1) in diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index b3f9001a52d..b67c6a02d6e 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -58,13 +58,13 @@ _GLIBCXX_BEGIN_NAMESPACE(std) # define _GLIBCXX_NUM_FACETS 14 #endif - // Convert string to numeric value of type _Tv and store results. + // Convert string to numeric value of type _Tp and store results. // NB: This is specialized for all required types, there is no // generic definition. - template + template void - __convert_to_v(const char* __in, _Tv& __out, ios_base::iostate& __err, - const __c_locale& __cloc); + __convert_to_v(const char*, _Tp&, ios_base::iostate&, + const __c_locale&) throw(); // Explicit specializations for required types. template<>