OSDN Git Service

2004-12-12 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Dec 2004 21:01:37 +0000 (21:01 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Dec 2004 21:01:37 +0000 (21:01 +0000)
* include/tr1/type_traits: Minor tweak.
* testsuite/tr1/4_metaprogramming/type_properties/extent/
typedefs.cc: Fix date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92062 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/type_traits
libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/typedefs.cc

index 7a41704..63e4842 100644 (file)
@@ -1,5 +1,11 @@
 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>
+
        * include/tr1/type_traits: Implement extent.
        * testsuite/tr1/4_metaprogramming/type_properties/extent/
        extent.cc: New.
index f38f51e..fa0ae85 100644 (file)
@@ -49,11 +49,11 @@ namespace tr1
     struct _Spec                                                 \
     : public true_type { };
       
-#define _DEFINE_SPEC(_Header, _Primary, _Type)                   \
-  _DEFINE_SPEC_HELPER(_Header, _Primary<_Type>)                  \
-  _DEFINE_SPEC_HELPER(_Header, _Primary<_Type const>)            \
-  _DEFINE_SPEC_HELPER(_Header, _Primary<_Type volatile>)         \
-  _DEFINE_SPEC_HELPER(_Header, _Primary<_Type const volatile>)
+#define _DEFINE_SPEC(_Header, _Trait, _Type)                     \
+  _DEFINE_SPEC_HELPER(_Header, _Trait<_Type>)                    \
+  _DEFINE_SPEC_HELPER(_Header, _Trait<_Type const>)              \
+  _DEFINE_SPEC_HELPER(_Header, _Trait<_Type volatile>)           \
+  _DEFINE_SPEC_HELPER(_Header, _Trait<_Type const volatile>)
 
   /// @brief  primary type categories [4.5.1].
   template<typename>
index 02a468c..0356b54 100644 (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.
 //