|
|
|
|
|
by cyber_kinetist
1366 days 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.) |
|