내일배움캠프/TIL

TIL260424 - CPP

옆집히드라 2026. 4. 24. 20:56

1. 핵심 개념


  • fmt 라이브러리; Unreal에서는?
  • if랑 switch 초기자
  • switch [[fallthrough]]
  • Short-circuit logic을 사용한 포인터검사
  • C++20; <=> three-way comparison operator; strong_ordering, partial_ordering, weak_ordering; 다소 무거운 기존 비교 연산자를 두 번 호출할 필요 없음; compare 라이브러리 보기
  • function prototype or function header vs function signature
  • 1.1.35 타입추론 미리
  • 함수 auto 리턴값 추론, auto랑 auto& 분석, __func__, 함수 오버로딩, 어트리뷰트 추가(nodiscard, maybe_unused, noreturn, deprecated, 20~ likely & unlikely)2. 상세 내용

2. 상세 내용


https://ndhphysics.tistory.com/63
금일 틸에서 개념 정리는 위 WFC 문서로 대체합니다.

3. 질문 및 해결 (Q&A)


4. 관련 문서 (Links)


'내일배움캠프 > TIL' 카테고리의 다른 글

TIL260428 - Unreal  (0) 2026.04.28
TIL260427 - CPP  (0) 2026.04.27
TIL260423  (0) 2026.04.23
TIL260422  (0) 2026.04.22
TIL260421  (0) 2026.04.21