Bug 53052 - [C++11] is_explicitly_convertible still part of <type_traits> header
Summary: [C++11] is_explicitly_convertible still part of <type_traits> header
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: 4.8.0
Assignee: Paolo Carlini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-20 08:45 UTC by Daniel Krügler
Modified: 2012-04-20 09:40 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2012-04-20 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Krügler 2012-04-20 08:45:35 UTC
With the acceptance of

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3047.html

the previously suggested type trait std::is_explicitly_convertible had been removed from the standard library. This component is still part of the library header <type_traits> and should be removed or renamed to something in the "extension name-space", presumably std::__is_explicitly_convertible.
Comment 1 Paolo Carlini 2012-04-20 09:01:29 UTC
Sure, sure, let's remove it. I'm leaving in for now some has_trivial_* things, I don't know if you noticed already, will go as soon as I find the time to work on the front-end support to has_trivial_constructor and assignment.
Comment 2 paolo@gcc.gnu.org 2012-04-20 09:39:25 UTC
Author: paolo
Date: Fri Apr 20 09:39:17 2012
New Revision: 186617

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186617
Log:
2012-04-20  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/53052
	* include/std/type_traits (is_explicitly_convertible): Remove.
	* testsuite/20_util/is_explicitly_convertible: Likewise.
	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
	Adjust dg-error line numbers.
	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
	Likewise.
	* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.

Removed:
    trunk/libstdc++-v3/testsuite/20_util/is_explicitly_convertible/
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/type_traits
Comment 3 paolo@gcc.gnu.org 2012-04-20 09:39:41 UTC
Author: paolo
Date: Fri Apr 20 09:39:29 2012
New Revision: 186618

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186618
Log:
2012-04-20  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/53052
	* include/std/type_traits (is_explicitly_convertible): Remove.
	* testsuite/20_util/is_explicitly_convertible: Likewise.
	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
	Adjust dg-error line numbers.
	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
	Likewise.
	* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.

Modified:
    trunk/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc
    trunk/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
    trunk/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc
Comment 4 Paolo Carlini 2012-04-20 09:40:47 UTC
Done.