* include/std/future (_State_baseV2::_M_set_result): Pass pointers to
commit28b3c9274184802d59d9918e9327df21defa49fb
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2014 20:13:52 +0000 (7 20:13 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2014 20:13:52 +0000 (7 20:13 +0000)
treeae33b523c844eedaec0bce42c4bbdd0aa7df280d
parent392214f61bf5995eee9480d8f54cc32093f0aee5
* include/std/future (_State_baseV2::_M_set_result): Pass pointers to
_M_do_set.
(_State_baseV2::_M_do_set): Change parameters to pointers.
(_State_baseV2::_Setter): Change _M_arg from reference to pointer.
(_State_baseV2::__setter): Initialize _Setter with pointers.
(_State_baseV2::__setter(promise<void>*)): Remove overload.
(promise::set_value, promise::set_exception): Pass setter directly
to _M_set_result.
(_State_baseV2::_Task_setter): Add template parameter for callable
type and replace std::function member with pointer to that type.
Change _M_result member from reference to pointer.
(_State_baseV2::_S_task_setter): Change parameter to lvalue reference
and initialize _Task_setter with pointers.
(__location_invariant): Specialize for _Setter and _Task_setter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213737 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/future