aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-expand.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-05-23 22:40:56 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-05-23 22:40:56 +0100
commit9a0af7e3fb425ae2c0e044d044feb81ef493ce2c (patch)
treea3d1f6bdc1b3b0ce8e8352e0048a022a8bee7691 /gcc/omp-expand.c
parentaa992ce717568eb88b324d39429e52df04a42eb1 (diff)
downloadgcc-9a0af7e3fb425ae2c0e044d044feb81ef493ce2c.zip
gcc-9a0af7e3fb425ae2c0e044d044feb81ef493ce2c.tar.gz
gcc-9a0af7e3fb425ae2c0e044d044feb81ef493ce2c.tar.bz2
LWG 2921 remove packaged_task constructors taking allocators
* doc/xml/manual/evolution.xml: Document LWG DR 2921 change. * doc/xml/manual/intro.xml: Likewise. * include/std/future (__create_task_state): Add default arguments to make providing an allocator optional. (packaged_task::packaged_task(F&&)): Call __create_task_state directly instead of delegating to another constructor. (packaged_task::packaged_task(allocator_arg_t, const A&, ...)): Do not define allocator-extended constructors for C++17 and later. * testsuite/30_threads/packaged_task/cons/alloc.cc: Only run test for C++11 and C++14. * testsuite/30_threads/packaged_task/cons/alloc2.cc: Likewise. * testsuite/30_threads/packaged_task/cons/alloc_min.cc: Likewise. * testsuite/30_threads/packaged_task/uses_allocator.cc: Likewise. From-SVN: r271582
Diffstat (limited to 'gcc/omp-expand.c')
0 files changed, 0 insertions, 0 deletions