summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-10 00:47:02 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-10 00:47:02 +0000
commitc508885f6538b8ad32e501013aa5b68601d69f03 (patch)
tree154eda56aed65fcdc4a80fc2f24a7aa86d2dfc02 /libstdc++-v3/include/bits
parent7738b6d7f7cf4b7a9238d9d9bf373e0d5d9da626 (diff)
downloadgcc-c508885f6538b8ad32e501013aa5b68601d69f03.tar.gz
2011-09-09 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/tuple: Use everywhere std::size_t... instead of int... * include/std/functional: Likewise. * include/std/scoped_allocator: Likewise. * include/bits/stl_pair.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178746 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits')
-rw-r--r--libstdc++-v3/include/bits/stl_pair.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/stl_pair.h b/libstdc++-v3/include/bits/stl_pair.h
index c4f33d0dcf6..bb33cc6437d 100644
--- a/libstdc++-v3/include/bits/stl_pair.h
+++ b/libstdc++-v3/include/bits/stl_pair.h
@@ -79,7 +79,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
template<typename...>
class tuple;
- template<int...>
+ template<std::size_t...>
struct _Index_tuple;
#endif
@@ -206,7 +206,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
static _Tp
__cons(tuple<_Args...>&&);
- template<typename _Tp, typename... _Args, int... _Indexes>
+ template<typename _Tp, typename... _Args, std::size_t... _Indexes>
static _Tp
__do_cons(tuple<_Args...>&&, const _Index_tuple<_Indexes...>&);
#endif