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
This commit is contained in:
parent
3d4e276625
commit
6c9bfe999d
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2007-08-17 Johannes Willkomm <willkomm@sc.rwth-aachen.de>
|
||||||
|
|
||||||
PR libstdc++/33084
|
PR libstdc++/33084
|
||||||
|
|
|
@ -240,7 +240,8 @@ namespace std
|
||||||
{
|
{
|
||||||
// "An imaginary lvalue of type From...".
|
// "An imaginary lvalue of type From...".
|
||||||
static const bool __value = (__is_convertible_simple<typename
|
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>
|
template<typename _From, typename _To>
|
||||||
|
|
Loading…
Reference in New Issue