diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 63e4842bd43ce71c45001fe37f7ee1489a8b1b3d..6c04728912921e41402f2eed88e3fc0f444a932c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2004-12-13 Paolo Carlini <pcarlini@suse.de> + + * include/tr1/type_traits (extent): Minor tweak (i.e., public). + 2004-12-12 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Minor tweak. diff --git a/libstdc++-v3/include/tr1/type_traits b/libstdc++-v3/include/tr1/type_traits index fa0ae857436ad3f61f356d26318592fc20c3aca9..d994dfe3195d31941183105ac3a644f76aac9487 100644 --- a/libstdc++-v3/include/tr1/type_traits +++ b/libstdc++-v3/include/tr1/type_traits @@ -246,18 +246,20 @@ namespace tr1 template<typename, unsigned = 0> struct extent - : integral_constant<std::size_t, 0> { }; + : public integral_constant<std::size_t, 0> { }; template<typename _Tp, unsigned _Uint, std::size_t _Size> struct extent<_Tp[_Size], _Uint> - : integral_constant<std::size_t, - _Uint == 0 ? _Size : extent<_Tp, _Uint - 1>::value> + : public integral_constant<std::size_t, + _Uint == 0 ? _Size : extent<_Tp, + _Uint - 1>::value> { }; template<typename _Tp, unsigned _Uint> struct extent<_Tp[], _Uint> - : integral_constant<std::size_t, - _Uint == 0 ? 0 : extent<_Tp, _Uint - 1>::value> + : public integral_constant<std::size_t, + _Uint == 0 ? 0 : extent<_Tp, + _Uint - 1>::value> { }; /// @brief relationships between types [4.6].