summaryrefslogtreecommitdiffstats
path: root/libcxx/include/array
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-11-19 19:41:04 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-11-19 19:41:04 +0000
commit5fcc8169ed568168473aa4054954869d6218260f (patch)
tree431e3f830098717d81c2769296af367373be84cb /libcxx/include/array
parent193c4edffb57ff0dbc90019ce09ae71c1cb1d59f (diff)
downloadbcm5719-llvm-5fcc8169ed568168473aa4054954869d6218260f.tar.gz
bcm5719-llvm-5fcc8169ed568168473aa4054954869d6218260f.zip
Fix some mistakes in the <array> synopsis. No functional change. Thanks to K-ballo for the patch
llvm-svn: 253592
Diffstat (limited to 'libcxx/include/array')
-rw-r--r--libcxx/include/array10
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/include/array b/libcxx/include/array
index 2e02a43ed52..36096905196 100644
--- a/libcxx/include/array
+++ b/libcxx/include/array
@@ -89,12 +89,12 @@ template <class T, size_t N >
void swap(array<T,N>& x, array<T,N>& y) noexcept(noexcept(x.swap(y)));
template <class T> class tuple_size;
-template <int I, class T> class tuple_element;
+template <size_t I, class T> class tuple_element;
template <class T, size_t N> struct tuple_size<array<T, N>>;
-template <int I, class T, size_t N> struct tuple_element<I, array<T, N>>;
-template <int I, class T, size_t N> T& get(array<T, N>&) noexcept; // constexpr in C++14
-template <int I, class T, size_t N> const T& get(const array<T, N>&) noexcept; // constexpr in C++14
-template <int I, class T, size_t N> T&& get(array<T, N>&&) noexcept; // constexpr in C++14
+template <size_t I, class T, size_t N> struct tuple_element<I, array<T, N>>;
+template <size_t I, class T, size_t N> T& get(array<T, N>&) noexcept; // constexpr in C++14
+template <size_t I, class T, size_t N> const T& get(const array<T, N>&) noexcept; // constexpr in C++14
+template <size_t I, class T, size_t N> T&& get(array<T, N>&&) noexcept; // constexpr in C++14
} // std
OpenPOWER on IntegriCloud