하 C++17을 공부한지 너무 오래된 듯 하다 ㅠㅠ
오늘 나의 멍청함 기록........
왜 std::optional의 nullptr과 nullopt 결과가 동일할거라 생각했지🥺

https://stackoverflow.com/questions/47791737/difference-between-nullptr-and-nullopt
Difference between nullptr, {} and nullopt
Why can't i use nullptr instead of nullopt? And why {} translates like nullopt?
stackoverflow.com
'개발 🛠💻 > C++, Modern C++' 카테고리의 다른 글
GCC / G++ 차이점 (0) | 2023.12.05 |
---|---|
C++ memory order 와 atomic 객체 (0) | 2023.11.02 |
[전문가를 위한 C++] 11장 11.1.6 레퍼런스와 포인터의 선택 기준 (0) | 2023.04.09 |
맨날 헷갈리는 volatile과 std::atomic (0) | 2022.11.07 |
STL 컨테이너별 시간 복잡도 (0) | 2022.08.05 |
댓글