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:
@@ -3523,7 +3523,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
// constructors
|
// constructors
|
||||||
_LIBCPP_INLINE_VISIBILITY
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
seed_seq() {}
|
seed_seq() _NOEXCEPT {}
|
||||||
#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
|
#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
|
||||||
template<class _Tp>
|
template<class _Tp>
|
||||||
_LIBCPP_INLINE_VISIBILITY
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
@@ -3541,7 +3541,7 @@ public:
|
|||||||
|
|
||||||
// property functions
|
// property functions
|
||||||
_LIBCPP_INLINE_VISIBILITY
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
size_t size() const {return __v_.size();}
|
size_t size() const _NOEXCEPT {return __v_.size();}
|
||||||
template<class _OutputIterator>
|
template<class _OutputIterator>
|
||||||
_LIBCPP_INLINE_VISIBILITY
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
void param(_OutputIterator __dest) const
|
void param(_OutputIterator __dest) const
|
||||||
|
Reference in New Issue
Block a user