Files
ladybird/AK
Daniel Bertalan 3c6bdb8a61 AK: Make smart pointer factories work with aggregates
Aggregate initialization with brace-enclosed parameters is a
[C++20 feature][1] not yet implemented by Clang. This caused compile
errors if we tried to use the factory functions to create smart pointers
to aggregates.

As a (temporary) fix, [the LWG's previously proposed solution][2] is
implemented by this commit.

Now, wherever it's not possible to direct-initialize, aggregate
initialization is performed.

[1]:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0960r3.html
[2]: http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#2089
2021-07-03 01:56:31 +04:30
..
2021-06-09 23:05:32 +04:30
2021-05-19 23:37:10 +01:00
2021-05-19 23:37:10 +01:00
2021-06-29 13:18:03 +02:00
2021-06-24 09:27:13 +02:00
2021-05-14 22:24:02 +02:00
2021-05-14 22:24:02 +02:00
2021-05-26 16:36:53 +04:30
2021-05-08 18:10:56 +02:00
2021-06-08 12:15:04 +02:00
2021-05-18 18:48:15 +01:00
2021-04-29 22:23:52 +02:00
2021-06-28 15:55:00 +02:00
2021-06-24 00:38:23 +02:00
2021-04-23 16:46:57 +02:00