summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-12 21:01:37 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-12 21:01:37 +0000
commit0c4202000c0727f3dc982e713da25b18a481bd83 (patch)
tree6398149384059b74db326f0c80483044c6dcba30 /libstdc++-v3
parentdce9431b82c6dbe094e64863711351117a9aff12 (diff)
downloadgcc-0c4202000c0727f3dc982e713da25b18a481bd83.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92062 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/tr1/type_traits10
-rw-r--r--libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/typedefs.cc2
3 files changed, 12 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 7a41704fb81..63e4842bd43 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/include/tr1/type_traits b/libstdc++-v3/include/tr1/type_traits
index f38f51e858d..fa0ae857436 100644
--- a/libstdc++-v3/include/tr1/type_traits
+++ b/libstdc++-v3/include/tr1/type_traits
@@ -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>
diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/typedefs.cc
index 02a468c5821..0356b54b6d3 100644
--- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/typedefs.cc
+++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/typedefs.cc
@@ -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.
//