logoalt Hacker News

maccardyesterday at 7:22 PM1 replyview on HN

>null will always trigger access violation..

No, it won't. https://gcc.godbolt.org/z/Mz8sqKvad


Replies

TinkersWyesterday at 7:31 PM

Oh my bad, I read that as nullptr, I use a custom optional that does not support such a silly mode as "disengaged"

show 2 replies