type_traitsfwd.h (add_reference): Remove.
2007-10-09 Paolo Carlini <pcarlini@suse.de> * include/tr1_impl/type_traitsfwd.h (add_reference): Remove. * include/tr1/type_traits (add_reference): Add forward declaration. * include/tr1_impl/functional (class _Mu<>): Fix. From-SVN: r129171
This commit is contained in:
parent
631db56b01
commit
beb1b47587
@ -1,3 +1,9 @@
|
||||
2007-10-09 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/tr1_impl/type_traitsfwd.h (add_reference): Remove.
|
||||
* include/tr1/type_traits (add_reference): Add forward declaration.
|
||||
* include/tr1_impl/functional (class _Mu<>): Fix.
|
||||
|
||||
2007-10-09 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/boost_concept_check.h (*AssociativeContainerConcept):
|
||||
|
@ -170,6 +170,9 @@ namespace tr1
|
||||
static const bool __value = sizeof(__test(__makeFrom())) == 1;
|
||||
};
|
||||
|
||||
template<typename _Tp>
|
||||
struct add_reference;
|
||||
|
||||
template<typename _Tp>
|
||||
struct __is_int_or_cref
|
||||
{
|
||||
|
@ -1149,7 +1149,11 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
|
||||
__base_type;
|
||||
|
||||
public:
|
||||
#ifdef _GLIBCXX_INCLUDE_AS_CXX0X
|
||||
typedef typename add_lvalue_reference<__base_type>::type type;
|
||||
#else
|
||||
typedef typename add_reference<__base_type>::type type;
|
||||
#endif
|
||||
};
|
||||
|
||||
template<typename _Tuple>
|
||||
@ -1177,7 +1181,11 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
|
||||
template<typename _CVMu, typename _CVArg, typename _Tuple>
|
||||
struct result<_CVMu(_CVArg, _Tuple)>
|
||||
{
|
||||
#ifdef _GLIBCXX_INCLUDE_AS_CXX0X
|
||||
typedef typename add_lvalue_reference<_CVArg>::type type;
|
||||
#else
|
||||
typedef typename add_reference<_CVArg>::type type;
|
||||
#endif
|
||||
};
|
||||
|
||||
// Pick up the cv-qualifiers of the argument
|
||||
|
@ -153,9 +153,6 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
|
||||
template<typename _Tp>
|
||||
struct remove_reference;
|
||||
|
||||
template<typename _Tp>
|
||||
struct add_reference;
|
||||
|
||||
/// @brief array modifications [4.7.3].
|
||||
template<typename _Tp>
|
||||
struct remove_extent;
|
||||
|
Loading…
Reference in New Issue
Block a user