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

llvm-svn: 193227
This commit is contained in:
Marshall Clow 2013-10-23 05:56:47 +00:00
parent 09b00e34fa
commit 07c28fe026
1 changed files with 2 additions and 2 deletions

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