Christian Mazakas
008ff1c071
add operator new overloads to test Callables
...
When Callables are sufficiently small, they're emplaced into a small
buffer directly by placement new. If one, however, uses an unqualified
call to placement new, the class-based overloads are picked up and
compilation fails.
libs/compat/test/move_only_function_test.cpp:107:11: note: candidate
function not viable: requires 1 argument, but 2 were provided
107 | void* operator new(std::size_t) { throw 1234; }
2026-01-23 19:34:36 -08:00
..
2024-08-20 21:06:26 +03:00
2024-08-20 21:06:26 +03:00
2024-03-29 21:43:34 +02:00
2024-03-29 21:20:49 +02:00
2026-01-20 18:51:03 +02:00
2024-03-29 21:20:49 +02:00
2024-03-29 21:43:34 +02:00
2024-03-29 21:20:49 +02:00
2024-03-29 21:43:34 +02:00
2024-03-29 21:20:49 +02:00
2024-03-28 21:12:46 +02:00
2024-03-28 21:12:46 +02:00
2026-01-20 18:51:03 +02:00
2024-03-28 21:12:46 +02:00
2024-03-28 21:12:46 +02:00
2024-03-28 21:12:46 +02:00
2024-03-28 21:12:46 +02:00
2024-03-28 21:12:46 +02:00
2024-03-22 17:48:08 +02:00
2024-04-17 09:40:34 -07:00
2024-12-17 11:20:18 -08:00
2025-11-01 19:45:39 +02:00
2025-11-01 19:45:39 +02:00
2024-06-20 11:28:10 -07:00
2024-12-17 11:20:18 -08:00
2024-03-28 21:37:43 +02:00
2024-03-22 05:02:43 +02:00
2024-03-22 02:35:29 +02:00
2024-03-21 20:43:25 +02:00
2026-01-20 18:51:03 +02:00
2024-03-22 02:35:29 +02:00
2024-03-21 20:28:27 +02:00
2024-04-06 21:45:34 +03:00
2024-03-22 02:35:29 +02:00
2024-03-21 20:43:25 +02:00
2024-03-22 05:02:43 +02:00
2024-03-22 02:35:29 +02:00
2024-03-21 20:12:01 +02:00
2024-04-06 21:45:19 +03:00
2024-04-06 20:12:13 +03:00
2024-04-06 19:03:58 +03:00
2026-01-20 18:51:03 +02:00
2024-04-06 20:12:13 +03:00
2024-04-06 19:03:58 +03:00
2024-04-06 21:45:19 +03:00
2024-04-06 20:12:13 +03:00
2024-04-06 19:03:58 +03:00
2024-04-06 21:45:19 +03:00
2024-04-06 20:12:13 +03:00
2024-04-06 19:03:58 +03:00
2024-03-22 18:14:36 +02:00
2024-04-06 21:45:34 +03:00
2024-03-22 18:14:36 +02:00
2024-04-06 22:20:25 +03:00
2024-03-22 19:15:09 +02:00
2025-11-01 17:18:55 +02:00
2023-05-15 11:44:34 -07:00
2024-03-21 21:00:34 +02:00
2024-03-21 21:00:34 +02:00
2026-01-23 19:34:36 -08:00
2025-11-18 14:33:45 +02:00
2024-03-29 21:20:49 +02:00
2024-03-21 10:41:17 -07:00
2024-10-04 13:06:44 +03:00
2024-10-04 13:26:50 +03:00
2025-09-05 09:33:40 -05:00