diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/tr1/type_traits | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b644e00..fcedb37 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,9 @@ 2004-12-25 Paolo Carlini <pcarlini@suse.de> + * include/tr1/type_traits (is_enum): Minor tweak. + +2004-12-25 Paolo Carlini <pcarlini@suse.de> + * include/tr1/type_traits: Implement is_enum (usual caveats about the nasty consequences of c++/19076...). * testsuite/testsuite_tr1.h: Add ConvType. diff --git a/libstdc++-v3/include/tr1/type_traits b/libstdc++-v3/include/tr1/type_traits index 9816ada..8780843 100644 --- a/libstdc++-v3/include/tr1/type_traits +++ b/libstdc++-v3/include/tr1/type_traits @@ -190,7 +190,7 @@ namespace tr1 template<typename _Tp> struct is_enum - : integral_constant<bool, __is_enum_helper<_Tp>::__value> { }; + : public integral_constant<bool, __is_enum_helper<_Tp>::__value> { }; template<typename _Tp, bool = (is_reference<_Tp>::value || is_void<_Tp>::value)> |