2 ms·
By the way, C++20 designated initializers works like a charm for this. foo::some_func({ .a = 8, .b = false }); (I view this and std::span as the
by cyber_kinetist 4y ago
By the way, C++20 designated initializers works like a charm for this.
foo::some_func({
.a = 8,
.b = false
});
(I view this and std::span as the only two usable features in C++20, and pretty much everything else can go to the dustbin or the drawing board.)