gcc/libstdc++-v3
Jonathan Wakely aaad548e18 re PR libstdc++/56492 (std::packaged_task requires CopyConstructible stored task)
PR libstdc++/56492
	* include/std/future (__future_base::_Result): Add result_type
	typedef.
	(__future_base::_S_allocate_result): Overload for std::allocator.
	(__future_base::_Task_setter): Use _Result::result_type instead of
	deducing the type from the task.
	(__future_base::_Task_state): Store allocator to allow shared state
	to be reset.  Replace std::function with member of target object type
	accessed via ...
	(__future_base::_Task_state_base): New abstract base class.
	(__future_base::_Task_state_base::_M_run): New virtual function to
	invoke type-erased target object.
	(__future_base::_Task_state_base::_M_reset): New virtual function to
	create new shared_state using same target object and allocator.
	(__future_base::__create_task_state): Allocate a new _Task_state.
	(packaged_task::packaged_task): Use __create_task_state.
	(packaged_task::reset): Use _Task_state_base::_M_reset.
	* testsuite/30_threads/packaged_task/cons/56492.cc: New.

From-SVN: r196695
2013-03-16 02:48:06 +00:00
..
config baseline_symbols.txt: Update. 2013-03-07 16:47:47 +01:00
doc *: Regenerate. 2013-03-14 03:13:14 +00:00
include re PR libstdc++/56492 (std::packaged_task requires CopyConstructible stored task) 2013-03-16 02:48:06 +00:00
libsupc++ unwind-cxx.h: Include sys/sdt.h if detected. 2013-03-15 09:55:07 +01:00
po Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
python Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
scripts Filter out basever symbols on Solaris 2013-03-06 13:34:35 +00:00
src Makefile.am (hashtable_c++0x.lo, [...]): Use -fimplicit-templates. 2013-02-12 00:39:38 +00:00
testsuite re PR libstdc++/56492 (std::packaged_task requires CopyConstructible stored task) 2013-03-16 02:48:06 +00:00
ChangeLog re PR libstdc++/56492 (std::packaged_task requires CopyConstructible stored task) 2013-03-16 02:48:06 +00:00
ChangeLog-1998 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-1999 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2000 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2001 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2002 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2003 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2004 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2005 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2006 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2007 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2008 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2009 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2010 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2011 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
Makefile.am Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
Makefile.in gthr.m4: New. 2012-10-15 13:10:30 +00:00
README
acinclude.m4 re PR libstdc++/56475 (Incorrect result of configure test for /dev/random (_GLIBCXX_USE_RANDOM_TR1) for MinGW platform (and others?)) 2013-03-01 11:23:21 +01:00
aclocal.m4
config.h.in unwind-cxx.h: Include sys/sdt.h if detected. 2013-03-15 09:55:07 +01:00
configure unwind-cxx.h: Include sys/sdt.h if detected. 2013-03-15 09:55:07 +01:00
configure.ac unwind-cxx.h: Include sys/sdt.h if detected. 2013-03-15 09:55:07 +01:00
configure.host config.gcc: Match arm*-*-linux-* for ARM Linux/GNU. 2012-10-15 21:12:23 +00:00
crossconfig.m4
fragment.am fragment.am (CONFIG_CXXFLAGS): Remove EXTRA_CXX_FLAGS. 2012-09-29 04:08:17 +00:00
linkage.m4 linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New. 2013-02-11 12:50:13 -05:00

README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.