Lauri Vasama

Results 32 comments of Lauri Vasama

Yes. See this video: https://www.youtube.com/watch?v=ZHAPLXNqJII The personal best is initially 0. I play until ~3.5s then restart, and exit after ~0.8s. Only the second result is saved.

My restart reflex is too fast. I sometimes do it just before dying. 😛

`value()` must throw when the `expected` has no value.

The four overloads for different value categories are redundant. A single `const` overload is sufficient.

On further inspection, I was wrong about the overloads being redundant. The `&&` overload moves the error object when throwing it. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0323r11.html#expected.void.observe Clearly states that an exception is thrown when...

To be clear, the `&` and `const&&` overloads are still redundant as they both copy the error object. Yes, an `expected` where `has_value() == true` can of course be constructed,...

I have implemented this here: https://github.com/vasama/MSSTL/tree/feature/inplace_vector When you start accepting C++26 features, I will be happy to reopen and update my PR. Please comment in this issue so that I...

In my implementation the debug iterator currently contains a pointer directly to the size member of the `inplace_vector`, which is a null pointer in the case of zero capacity. This...

> Thank you. I am currently on vacation and may not be able to check this in a timely manner. That's fine by me. Changing my user mode code to...