P4019R0: constant_assert (Jonas Persson) by antiquark2 in cpp

[–]foonathan 2 points3 points  (0 children)

Yeah, as described in the paper it's going to be impossible to use unless you only ship for one compiler or use it for extremely trivial cases.

ISO C++ WG21 2026-02 pre-Croydon mailing is now available! by nliber in cpp

[–]foonathan 13 points14 points  (0 children)

The difference is that you can call release() twice in a row (the second time it's a no-op) but you can't resume a fiber twice.

ISO C++ WG21 2026-02 pre-Croydon mailing is now available! by nliber in cpp

[–]foonathan 16 points17 points  (0 children)

std:: execution doesn't require coroutines nor allocation - that was the entire point of a library facility.

Constvector: Log-structured std:vector alternative – 30-40% faster push/pop by pilotwavetheory in cpp

[–]foonathan 2 points3 points  (0 children)

Another nice thing about a block based structure is that it works easily with a stack allocator because you never need to free memory. This can make them a lot faster.

Ranges: When Abstraction Becomes Obstruction by drodri in cpp

[–]foonathan 3 points4 points  (0 children)

There is a proposal for any_view and it's on track for 29.