type_traits: Minor tweak.

2004-12-12  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/type_traits: Minor tweak.
	* testsuite/tr1/4_metaprogramming/type_properties/extent/
	typedefs.cc: Fix date.

From-SVN: r92062
This commit is contained in:
Paolo Carlini 2004-12-12 21:01:37 +00:00 committed by Paolo Carlini
parent b8c26d709c
commit 0736fd563f
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2004-12-12 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Minor tweak.
* testsuite/tr1/4_metaprogramming/type_properties/extent/
typedefs.cc: Fix date.
2004-12-12 Paolo Carlini <pcarlini@suse.de> 2004-12-12 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement extent. * include/tr1/type_traits: Implement extent.

View File

@ -49,11 +49,11 @@ namespace tr1
struct _Spec \ struct _Spec \
: public true_type { }; : public true_type { };
#define _DEFINE_SPEC(_Header, _Primary, _Type) \ #define _DEFINE_SPEC(_Header, _Trait, _Type) \
_DEFINE_SPEC_HELPER(_Header, _Primary<_Type>) \ _DEFINE_SPEC_HELPER(_Header, _Trait<_Type>) \
_DEFINE_SPEC_HELPER(_Header, _Primary<_Type const>) \ _DEFINE_SPEC_HELPER(_Header, _Trait<_Type const>) \
_DEFINE_SPEC_HELPER(_Header, _Primary<_Type volatile>) \ _DEFINE_SPEC_HELPER(_Header, _Trait<_Type volatile>) \
_DEFINE_SPEC_HELPER(_Header, _Primary<_Type const volatile>) _DEFINE_SPEC_HELPER(_Header, _Trait<_Type const volatile>)
/// @brief primary type categories [4.5.1]. /// @brief primary type categories [4.5.1].
template<typename> template<typename>

View File

@ -1,4 +1,4 @@
// 2004-12-11 Paolo Carlini <pcarlini@suse.de> // 2004-12-12 Paolo Carlini <pcarlini@suse.de>
// //
// Copyright (C) 2004 Free Software Foundation, Inc. // Copyright (C) 2004 Free Software Foundation, Inc.
// //