This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix invalid code in locale_facets.h


This tiny patch fixes an invalid code problem introduced when throw() was added to specialisations of __convert_to_v without being added to the base template, which is invalid.

While g++ doesn't currently complain about this it might eventually (there is a bug about this in bugzilla), and also it upsets other compilers if they try to parse the libstdc++ headers.

2010-02-17  Chris Jefferson <chris@bubblescope.net>

	* include/bits/locale_facets.h: (__convert_to_v) add throw()

Attachment: throw.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]