diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 21f803052f3..84f7775ea98 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2006-10-30 Paolo Carlini + + * include/tr1/utility (tuple_size >::value): Provide + definition. + 2006-10-30 Paolo Carlini * include/tr1/tuple_iterate.h (tuple_size >::value): Provide diff --git a/libstdc++-v3/include/tr1/utility b/libstdc++-v3/include/tr1/utility index db140b29a66..d9b99ec0032 100644 --- a/libstdc++-v3/include/tr1/utility +++ b/libstdc++-v3/include/tr1/utility @@ -1,6 +1,6 @@ // TR1 utility -*- C++ -*- -// Copyright (C) 2004, 2005 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -47,7 +47,10 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1) template struct tuple_size > { static const int value = 2; }; - + + template + const int tuple_size >::value; + template struct tuple_element<0, std::pair<_Tp1, _Tp2> > { typedef _Tp1 type; };