[libcxx] r193227 - Mark seed_seq default constructor and size() as noexcept. This is implied, but not required by LWG issue 2180
Marshall Clow
mclow.lists at gmail.com
Tue Oct 22 22:56:48 PDT 2013
Author: marshall
Date: Wed Oct 23 00:56:47 2013
New Revision: 193227
URL: http://llvm.org/viewvc/llvm-project?rev=193227&view=rev
Log:
Mark seed_seq default constructor and size() as noexcept. This is implied, but not required by LWG issue 2180
Modified:
libcxx/trunk/include/random
Modified: libcxx/trunk/include/random
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/random?rev=193227&r1=193226&r2=193227&view=diff
==============================================================================
--- libcxx/trunk/include/random (original)
+++ libcxx/trunk/include/random Wed Oct 23 00:56:47 2013
@@ -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
More information about the cfe-commits
mailing list