summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/tr1/array
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-30 22:22:38 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-30 22:22:38 +0000
commit05e233db51daa18364fd2804ed7f5d8711e90251 (patch)
treea04b7c494980daf1e707842254071519f28eb9a0 /libstdc++-v3/include/tr1/array
parentd1876d5a87739f656b911b9c91aece9d0547e7a2 (diff)
downloadppe42-gcc-05e233db51daa18364fd2804ed7f5d8711e90251.tar.gz
ppe42-gcc-05e233db51daa18364fd2804ed7f5d8711e90251.zip
2006-10-30 Paolo Carlini <pcarlini@suse.de>
* include/tr1/tuple_iterate.h (tuple_size<tuple<> >::value): Provide definition. * include/tr1/functional (is_bind_expression<>::value, is_placeholder<>::value, + various partial specializations): Likewise. * include/tr1/array (tuple_size<array<> >::value): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/tr1/array')
-rw-r--r--libstdc++-v3/include/tr1/array3
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/include/tr1/array b/libstdc++-v3/include/tr1/array
index 43898740a1c..1afd7db04a4 100644
--- a/libstdc++-v3/include/tr1/array
+++ b/libstdc++-v3/include/tr1/array
@@ -243,6 +243,9 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1)
struct tuple_size<array<_Tp, _Nm> >
{ static const int value = _Nm; };
+ template<typename _Tp, std::size_t _Nm>
+ const int tuple_size<array<_Tp, _Nm> >::value;
+
template<int _Int, typename _Tp, std::size_t _Nm>
struct tuple_element<_Int, array<_Tp, _Nm> >
{ typedef _Tp type; };
OpenPOWER on IntegriCloud