본문 바로가기 메뉴 바로가기

Minusi

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Minusi

검색하기 폼
  • Minusi Library (52)
    • 개발 (40)
      • C++ (5)
      • C# (1)
      • Unreal Engine 4 (8)
      • Algorithm (4)
      • Data Structure (2)
      • DirectX (3)
      • Miscellaneous (13)
      • WinAPI (0)
      • Pattern (0)
      • TroubleShooting (4)
    • 이론 (6)
      • Computer (3)
      • Math (3)
      • OOP (0)
    • 기타 (4)
      • 레퍼런스 (4)
      • 비공개 (0)
    • 아카이브 (0)
      • 컴퓨터 (0)
  • 방명록

decltype (1)

카테고리

  • Minusi Library (52)
    • 개발 (40)
      • C++ (5)
      • C# (1)
      • Unreal Engine 4 (8)
      • Algorithm (4)
      • Data Structure (2)
      • DirectX (3)
      • Miscellaneous (13)
      • WinAPI (0)
      • Pattern (0)
      • TroubleShooting (4)
    • 이론 (6)
      • Computer (3)
      • Math (3)
      • OOP (0)
    • 기타 (4)
      • 레퍼런스 (4)
      • 비공개 (0)
    • 아카이브 (0)
      • 컴퓨터 (0)
이전 1 다음
[Effective Modern C++] 항목 3 : decltype의 작동 방식을 숙지하라

decltype은 주어진 이름이나 표현식의 형식(type)을 알려주는 키워드입니다. 대부분의 경우에서 decltype이 사용자가 예측한 그 형식을 말해 주지만, 아주 가끔 예상 밖의 결과를 제공하기도 합니다. 먼저, 대부분의 경우부터 살펴보겠습니다. 템플릿과 auto의 형식 연역(항목 1과 항목 2 참고)에서 일어나는 일과는 달리. decltype은 주어진 이름이나 표현식의 구체적인 형식을 그대로 말해줍니다. const int i = 0; // decltype(i)는 const int bool f(const Widget& w) // decltype(w)는 const Widget& // decltype(f)는 bool(const Widget&) struct Point{ int x, int y; // dec..

개발/C++ 2019. 7. 3. 23:35
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • Jejuorange
TAG
  • 퍼포스 스트림
  • C# 익명함수
  • C7568
  • P4 Streams
  • Perforce Streams
  • C++ Compile error
  • P4 Stream
  • 알고리즘
  • Visual Studio C1083
  • visual studio hot reload
  • c++ 핫 리로드
  • C# lambda expression
  • Perforce Stream
  • UE4
  • 구간합
  • 행렬
  • Unreal Engine 5
  • C++
  • 언리얼 엔진 5
  • GoogleTest
  • Auto
  • DXGI
  • c++ hot reload
  • 언리얼 엔진
  • game hot reload
  • MSVC C1083
  • delaying 2 processes from spawning due to memory pressure
  • 퍼포스 개요
  • C# 람다식
  • visual studio 핫 리로드
more
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바