* include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
2162: Add noexcept.
From-SVN: r199858
2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
+ * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
+ 2162: Add noexcept.
+
+2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
+
* include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
* include/bits/stl_algobase.h (equal, mismatch): Likewise.
* testsuite/25_algorithms/equal/1.cc: Remove duplicate test case.
* Returns @c __a.max_size() if that expression is well-formed,
* otherwise returns @c numeric_limits<size_type>::max()
*/
- static size_type max_size(const _Alloc& __a)
+ static size_type max_size(const _Alloc& __a) noexcept
{ return _S_max_size(__a); }
/**