OSDN Git Service

2010-12-14 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 2010 23:27:17 +0000 (23:27 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 2010 23:27:17 +0000 (23:27 +0000)
commitef6d80d19883050c43e7f9d12374d1f28c9ac6cb
treeacbd413506b308a516f39c0b59d371c06d8bceb1
parentc55bd8e4af7d26ede9d56ed04c17c8adbc6470a1
2010-12-14  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/45133
* include/std/future (__basic_future::wait): Throw if not valid.
(__basic_future::wait_for): Likewise.
(__basic_future::wait_until): Likewise.
(__basic_future::_M_get_result): Likewise.
* testsuite/30_threads/future/members/45133.cc: New.
* testsuite/30_threads/shared_future/members/45133.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167823 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/future
libstdc++-v3/testsuite/30_threads/future/members/45133.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc [new file with mode: 0644]