4 ms·
> is std::nullopt_t doesn’t appear to match an empty optional > that this wasn’t supported [...] was intentional This is a very C++y thing to do. "Wanna do th
by lionkor 4y ago
> is std::nullopt_t doesn’t appear to match an empty optional
> that this wasn’t supported [...] was intentional
This is a very C++y thing to do. "Wanna do that thing? Well, the way that is obvious works, compiles, but doesn't do what it should. <good reasons why>. Sorry!"
I like it, it's job security.
- still_grokking 4y agoWell, yes this is very C++ly. https://fouronnes.github.io/cppiceberg/ https://fouronnes.github.io/cppiceberg/
- ChrisClark 4y ago>operator,() Hah, wow.
- gumby 4y agoI am rather parsimonious with vertical whitespace (can't stand { on its own line, for example) but I use a lot of horizontal whitespace, and would thus write this operator , (); Not that I have ever overloaded the comma operator, which anyway only exists because of C's (well, Algol's) foolish distinction between expressions and statements.