gcc/libstdc++-v3/include/bits
Paolo Carlini 3164517929 re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream)
2011-11-02  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/50951
	* include/bits/random.tcc (operator<<(basic_ostream<>&,
	const mersenne_twister_engine<>&): Output _M_p too.
	(operator<<(basic_ostream<>&, const
	subtract_with_carry_engine<>&): Likewise.
	(operator>>(basic_istream<>&, mersenne_twister_engine<>&):
	Reload it.
	(operator>>(basic_istream<>&, subtract_with_carry_engine<>&):
	Likewise.
	* include/bits/random.h (mersenne_twister_engine<>::operator==):
	Compare _M_p too.
	(subtract_with_carry_engine<>::operator==): Compare _M_carry
	and _M_p too.
	(shuffle_order_engine<>::operator==): Compare _M_v(s) and _M_y too.
	* testsuite/26_numerics/random/independent_bits_engine/
	operators/serialize.cc: Extend.
	* testsuite/26_numerics/random/subtract_with_carry_engine/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/discard_block_engine/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/mersenne_twister_engine/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/linear_congruential_engine/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/
	operators/serialize.cc: Likewise.

From-SVN: r180764
2011-11-02 10:06:08 +00:00
..
algorithmfwd.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
alloc_traits.h alloc_traits.h: Fix doxygen @headername. 2011-08-07 13:25:48 +01:00
allocator.h Makefile.am: Add alloc_traits.h headers. 2011-06-22 20:57:12 +01:00
atomic_0.h atomic.cc: Use noexcept. 2011-08-04 19:57:48 +00:00
atomic_2.h atomic.cc: Use noexcept. 2011-08-04 19:57:48 +00:00
atomic_base.h atomic.cc: Use noexcept. 2011-08-04 19:57:48 +00:00
basic_ios.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
basic_ios.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
basic_string.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
basic_string.tcc configure.host: Use config/os/mingw32-w64 instead of config/os/mingw32 if vendor key is "w64". 2011-10-14 08:57:55 +02:00
boost_concept_check.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c++0x_warning.h re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
c++config c++config: Add tr2 to versioned namespaces. 2011-11-02 04:23:33 +00:00
char_traits.h char_traits.h: Use noexcept throughout. 2011-05-21 00:05:03 +00:00
codecvt.h re PR libstdc++/50714 (codecvt_byname::codecvt::_M_c_locale_codecvt not initialized by destroyed) 2011-10-14 00:12:40 +00:00
concept_check.h Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
cpp_type_traits.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
deque.tcc re PR libstdc++/50529 ([C++0x] std::vector::erase invokes undefined behavior with empty range) 2011-09-27 02:39:34 +00:00
forward_list.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
forward_list.tcc re PR libstdc++/50118 (node-based containers cannot use allocators with explicit constructor template) 2011-08-29 13:40:33 +00:00
fstream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
functexcept.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
functional_hash.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
gslice.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
gslice_array.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
hashtable.h hashtable.h (_Hashtable<>::insert(value_type&&), [...]): Don't define here... 2011-10-03 15:28:47 +00:00
hashtable_policy.h hashtable_policy.h (_Prime_rehash_policy:: _M_next_bkt): Cast _M_max_load_factor to long double. 2011-09-06 22:13:46 +00:00
indirect_array.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ios_base.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
istream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
list.tcc re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2011-10-04 22:19:44 +00:00
locale_classes.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
locale_classes.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
locale_facets.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
locale_facets.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
locale_facets_nonio.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
locale_facets_nonio.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
localefwd.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
mask_array.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
move.h move.h (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Remove workaround for c++/49045. 2011-08-28 21:05:48 +00:00
ostream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
ostream_insert.h Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
postypes.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ptr_traits.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
random.h re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
random.tcc re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
range_access.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
regex.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
regex_compiler.h Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
regex_constants.h regex.h (sub_match::sub_match): Add. 2011-02-14 23:35:22 +00:00
regex_cursor.h Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
regex_error.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
regex_grep_matcher.h regex_compiler.h: Nest namespace versioning. 2011-03-15 02:55:19 +00:00
regex_grep_matcher.tcc Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
regex_nfa.h Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
regex_nfa.tcc Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
shared_ptr.h re PR c++/50500 ([C++0x] [DR 1082] move constructor should cause copy constructor to be deleted, but still declared) 2011-10-18 13:39:15 -04:00
shared_ptr_base.h re PR libstdc++/49925 ([C++0x] ADL bug mixing boost::shared_ptr and std::make_shared<>) 2011-07-31 20:28:45 +00:00
slice_array.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
sstream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
stl_algo.h re PR libstdc++/50119 ([C++0x] copy_n advances InputIterator one more time than necessary) 2011-08-18 16:32:23 +00:00
stl_algobase.h re PR libstdc++/50661 (std::equal should use more efficient version for arrays of pointers) 2011-10-11 12:39:18 +00:00
stl_bvector.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_construct.h stl_construct.h: Update Copyright years. 2011-06-22 20:27:21 +00:00
stl_deque.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_function.h c++config (_GLIBCXX_DEPRECATED): To _GLIBCXX_USE_DEPRECATED. 2011-01-31 20:46:43 +00:00
stl_heap.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_iterator.h stl_iterator.h (make_move_iterator): Implement DR2061. 2011-08-30 15:34:50 +00:00
stl_iterator_base_funcs.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_iterator_base_types.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
stl_list.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_map.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_multimap.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_multiset.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_numeric.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_pair.h tuple: Use everywhere std::size_t... 2011-09-10 00:47:02 +00:00
stl_queue.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_raw_storage_iter.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
stl_relops.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_set.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stl_stack.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_tempbuf.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_tree.h re PR libstdc++/50118 (node-based containers cannot use allocators with explicit constructor template) 2011-08-29 13:40:33 +00:00
stl_uninitialized.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_vector.h Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
stream_iterator.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
streambuf.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
streambuf_iterator.h re PR libstdc++/50336 (LWG issue 445) 2011-09-08 22:42:21 +00:00
stringfwd.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
unique_ptr.h re PR libstdc++/48430 (std::hash partial specialization for std::unique_ptr and std::shared_ptr are using unary_function) 2011-07-18 16:07:24 +00:00
unordered_map.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
unordered_set.h hashtable.h (_Hashtable<>::insert(value_type&&), [...]): Don't define here... 2011-10-03 15:28:47 +00:00
uses_allocator.h tuple: Implement uses-allocator construction. 2011-05-30 17:31:17 +01:00
valarray_after.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
valarray_array.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
valarray_array.tcc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
valarray_before.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
vector.tcc re PR libstdc++/50529 ([C++0x] std::vector::erase invokes undefined behavior with empty range) 2011-09-27 02:39:34 +00:00