diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2013-10-23 05:56:47 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2013-10-23 05:56:47 +0000 |
commit | 07c28fe026296e6a7110a2b886ff4ce245473611 (patch) | |
tree | 062dadbf4e2d25ea45ee045826a823701ab326b4 /libcxx | |
parent | 09b00e34fad490d225cb39d090daff7d8be028c1 (diff) | |
download | llvm-07c28fe026296e6a7110a2b886ff4ce245473611.zip llvm-07c28fe026296e6a7110a2b886ff4ce245473611.tar.gz llvm-07c28fe026296e6a7110a2b886ff4ce245473611.tar.bz2 |
Mark seed_seq default constructor and size() as noexcept. This is implied, but not required by LWG issue 2180
llvm-svn: 193227
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/include/random | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/random b/libcxx/include/random index e5c08bc..c0db1ab 100644 --- a/libcxx/include/random +++ b/libcxx/include/random @@ -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 |