| ▲ | maccard 5 hours ago | |||||||||||||
>null will always trigger access violation.. No, it won't. https://gcc.godbolt.org/z/Mz8sqKvad | ||||||||||||||
| ▲ | TinkersW 4 hours ago | parent [-] | |||||||||||||
Oh my bad, I read that as nullptr, I use a custom optional that does not support such a silly mode as "disengaged" | ||||||||||||||
| ||||||||||||||