if
switch
for
while
do-while
continue
break
goto
return
decltype
typedef
const_cast
static_cast
dynamic_cast
reinterpret_cast
new
delete
this
C++ 언어의 구문에 대한 간단한 설명입니다.
기본 개념
주석 ASCII 문자표 이름 및 식별자 타입 - 기본 타입 개체 - 범위 - 수명 정의 및 ODR 이름 검색 한정된 이름 검색 - 한정되지 않은 이름 검색 메모리 모형과 데이터 경쟁 변환의 단계 메인 함수
C++ 키워드 전처리기
#if - #ifdef - #ifndef #define #include #warning - #error #pragma - #line
식
연산자변환리터럴식별자연산자 우선순위 값 종류 연산 순서와 시퀀싱 sizeof - alignof - typeidnew - delete
명령문
if - switch for - range-for - while - do-while continue - break - goto - return
선언
네임스페이스 정의 네임스페이스 이름 lvalue 와rvalue 참조 포인터 - 배열 열거형과 열거자 저장소 기간과 연결 cv-specifiers - constexpr decltype - auto alignas typedef - 타입 이름 attributes
초기화
기본 초기화 값 초기화 복사 초기화 direct 초기화 집합 초기화 리스트 초기화 참조 초기화
함수
함수 정의 기본 인자 가변 인자 람다식 inline 식별자 인자 기반 검색 오버로드 결정
예외
throw try-catch noexcept 식별자 noexcept 연산자 예외 명세
클래스
class 타입 - union 타입데이터 멤버 - 멤버 함수정적 멤버 - nested typesderived class - using-declarationvirtual function - abstract classbit fields this 접근 식별자 friend 식별자기본 생성자 - 복사 생성자복사 할당 - 소멸자이동 생성자 - 이동 할당 멤버 초기화 리스트
템플릿
클래스 템플릿 함수 템플릿 변수 템플릿(C++14) 명시적 특수화 부분 특수화 dependent names parameter packs - sizeof...
기타
C++의 역사 프로그램 시작 프로그램 종결 인라인 어셈플리 RAII - Rule of three as-if 규칙 - copy elision - 공백 기반 최적화