2015-05-13 Jonathan Wakely <jwakely@redhat.com>
+ * include/bits/random.h (seed_seq): More noexcept (LWG 2440).
+
* include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
* testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
* testsuite/23_containers/forward_list/allocator/minimal.cc:
*/
class seed_seq
{
-
public:
/** The type of the seed vales. */
typedef uint_least32_t result_type;
/** Default constructor. */
- seed_seq()
+ seed_seq() noexcept
: _M_v()
{ }
generate(_RandomAccessIterator __begin, _RandomAccessIterator __end);
// property functions
- size_t size() const
+ size_t size() const noexcept
{ return _M_v.size(); }
template<typename OutputIterator>
seed_seq& operator=(const seed_seq&) = delete;
private:
- ///
std::vector<result_type> _M_v;
};