|
| 1 | +2025-05-26 Tomasz Kamiński < [email protected]> |
| 2 | + |
| 3 | + PR libstdc++/119152 |
| 4 | + * testsuite/std/memory/indirect/ctor.cc: Run test_inplace_ctor. |
| 5 | + |
| 6 | +2025-05-26 Jonathan Wakely < [email protected]> |
| 7 | + Tomasz Kamiński < [email protected]> |
| 8 | + |
| 9 | + PR libstdc++/119152 |
| 10 | + * doc/doxygen/stdheader.cc: Added indirect.h file. |
| 11 | + * include/Makefile.am: Add new header. |
| 12 | + * include/Makefile.in: Regenerate. |
| 13 | + * include/bits/indirect.h: New file. |
| 14 | + * include/bits/version.def (indirect): Define. |
| 15 | + * include/bits/version.h: Regenerate. |
| 16 | + * include/std/memory: Include new header. |
| 17 | + * testsuite/std/memory/indirect/copy.cc |
| 18 | + * testsuite/std/memory/indirect/copy_alloc.cc |
| 19 | + * testsuite/std/memory/indirect/ctor.cc |
| 20 | + * testsuite/std/memory/indirect/incomplete.cc |
| 21 | + * testsuite/std/memory/indirect/invalid_neg.cc |
| 22 | + * testsuite/std/memory/indirect/move.cc |
| 23 | + * testsuite/std/memory/indirect/move_alloc.cc |
| 24 | + * testsuite/std/memory/indirect/relops.cc |
| 25 | + |
| 26 | +2025-05-26 Tomasz Kamiński < [email protected]> |
| 27 | + |
| 28 | + PR libstdc++/119126 |
| 29 | + * doc/doxygen/stdheader.cc: Added funcref_impl.h file. |
| 30 | + * include/Makefile.am: Added funcref_impl.h file. |
| 31 | + * include/Makefile.in: Added funcref_impl.h file. |
| 32 | + * include/bits/funcref_impl.h: New file. |
| 33 | + * include/bits/funcwrap.h: (_Ptrs::_M_obj): Const-qualify. |
| 34 | + (_Storage::_M_ptr, _Storage::_M_ref): Remove. |
| 35 | + (__polyfunc::__cast_to) Define. |
| 36 | + (_Base_invoker::_S_ptrs, _Base_invoker::_S_nttp) |
| 37 | + (_Base_invoker::_S_bind_ptrs, _Base_invoker::_S_bind_ref) |
| 38 | + (_Base_invoker::_S_call_ptrs): Define. |
| 39 | + (_Base_invoker::_S_call_storage): Foward to _S_call_ptrs. |
| 40 | + (_Manager::_S_local, _Manager::_S_ptr): Adjust for _M_obj being |
| 41 | + const qualified. |
| 42 | + (__polyfunc::_Manager, __polyfunc::_Mo_base): Guard with |
| 43 | + __glibcxx_move_only_function || __glibcxx_copyable_function. |
| 44 | + (__polyfunc::__skip_first_arg, __polyfunc::__deduce_funcref) |
| 45 | + (std::function_ref) [__glibcxx_function_ref]: Define. |
| 46 | + * include/bits/utility.h (std::nontype_t, std::nontype) |
| 47 | + (__is_nontype_v) [__glibcxx_function_ref]: Define. |
| 48 | + * include/bits/version.def: Define function_ref. |
| 49 | + * include/bits/version.h: Regenerate. |
| 50 | + * include/std/functional: Define __cpp_lib_function_ref. |
| 51 | + * src/c++23/std.cc.in (std::nontype_t, std::nontype) |
| 52 | + (std::function_ref) [__cpp_lib_function_ref]: Export. |
| 53 | + * testsuite/20_util/function_ref/assign.cc: New test. |
| 54 | + * testsuite/20_util/function_ref/call.cc: New test. |
| 55 | + * testsuite/20_util/function_ref/cons.cc: New test. |
| 56 | + * testsuite/20_util/function_ref/cons_neg.cc: New test. |
| 57 | + * testsuite/20_util/function_ref/conv.cc: New test. |
| 58 | + * testsuite/20_util/function_ref/deduction.cc: New test. |
| 59 | + * testsuite/20_util/function_ref/mutation.cc: New test. |
| 60 | + |
1 | 61 | 2025-05-23 Jonathan Wakely < [email protected]>
|
2 | 62 |
|
3 | 63 | PR libstdc++/120384
|
|
0 commit comments