Commit 6c9bfe99 by Chris Fairles Committed by Paolo Carlini

re PR libstdc++/33098 ([c++0x] __is_convertible_helper in type_traits uses…

re PR libstdc++/33098 ([c++0x] __is_convertible_helper in type_traits uses deprecated add_reference)

2007-08-17  Chris Fairles  <chris.fairles@gmail.com>

	PR libstdc++/33098
	* include/std/type_traits (__is_convertible_helper):
	Use add_lvalue_reference.

From-SVN: r127588
parent 3d4e2766
2007-08-17 Chris Fairles <chris.fairles@gmail.com>
PR libstdc++/33098
* include/std/type_traits (__is_convertible_helper):
Use add_lvalue_reference.
2007-08-17 Johannes Willkomm <willkomm@sc.rwth-aachen.de>
PR libstdc++/33084
......
......@@ -240,7 +240,8 @@ namespace std
{
// "An imaginary lvalue of type From...".
static const bool __value = (__is_convertible_simple<typename
add_reference<_From>::type, _To>::__value);
add_lvalue_reference<_From>::type,
_To>::__value);
};
template<typename _From, typename _To>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment