Mark seed_seq default constructor and size() as noexcept. This is implied, but not required by LWG issue 2180

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@193227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2013-10-23 05:56:47 +00:00
parent 0f7afe7b8e
commit 65ccddb341

View File

@@ -3523,7 +3523,7 @@ private:
public:
// constructors
_LIBCPP_INLINE_VISIBILITY
seed_seq() {}
seed_seq() _NOEXCEPT {}
#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
template<class _Tp>
_LIBCPP_INLINE_VISIBILITY
@@ -3541,7 +3541,7 @@ public:
// property functions
_LIBCPP_INLINE_VISIBILITY
size_t size() const {return __v_.size();}
size_t size() const _NOEXCEPT {return __v_.size();}
template<class _OutputIterator>
_LIBCPP_INLINE_VISIBILITY
void param(_OutputIterator __dest) const