Fix invalid code in locale_facets.h

Christopher Jefferson chris@bubblescope.net
Wed Feb 17 20:50:00 GMT 2010


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()

-------------- next part --------------
A non-text attachment was scrubbed...
Name: throw.diff
Type: application/octet-stream
Size: 474 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20100217/aeb6b190/attachment.obj>


More information about the Libstdc++ mailing list