Bug 53052

Summary: [C++11] is_explicitly_convertible still part of <type_traits> header
Product: gcc Reporter: Daniel Krügler <daniel.kruegler>
Component: libstdc++Assignee: Paolo Carlini <paolo.carlini>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 4.8.0   
Target Milestone: 4.8.0   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed: 2012-04-20 00:00:00

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.