이름공간
변수
행위

C++ 표준 라이브러리 헤더 파일

cppreference.com
< cpp
 
 
 

C++ 표준 라이브러리의 인터페이스는 아래의 헤더 파일들 내에 정의되어 있습니다.

목차

유틸리티 라이브러리

<cstdlib> 범용 유틸리티: 프로그램 통제, 동적 메모리 할당, 난수, 정렬 및 탐색
<csignal> 시그널 관리를 위한 ��수와 매크로 상수
<csetjmp> Macro (and function) that saves (and jumps) to an execution context
<cstdarg> 가변 길이 인수 목록의 처리
<typeinfo> 런타임 자료형 정보 유틸리티
<typeindex> (since C++11) std::type_index
<type_traits> (since C++11) 컴파일 시간 자료형 정보
<bitset> std::bitset 클래스 템플릿
<functional> 표준 알고리즘과 함께 사용하도록 설계된 Function 객체
<utility> 각종 유틸리티 구성 요소
<ctime> C 스타일 날짜·시간 유틸리티
<chrono> (since C++11) C++ 시간 유틸리티
<cstddef> typedefs for types such as size_t, NULL and others
<initializer_list> (since C++11) std::initializer_list 클래스 템플릿
<tuple> (since C++11) std::tuple 클래스 템플릿
<optional> (since C++14) std::optional 클래스 템플릿
동적 메모리 관리
<new> 저수준의 메모리 관리 유틸리티
<memory> 고수준의 메모리 관리 유틸리티
<scoped_allocator> (since C++11) Nested allocator class
한계값
<climits> 정수형 타입의 한계값
<cfloat> 부동소숫점 타입의 한계값
<cstdint> (since C++11) 고정된 크기의 자료형 기타 자료형의 한계값
<cinttypes> (since C++11) formatting macros , intmax_t and uintmax_t math and conversions
<limits> standardized way to query properties of fundamental types
오류 처리
<exception> 예외 처리 유틸리티
<stdexcept> 표준 예외 객체
<cassert> Conditionally compiled macro that compares its argument to zero
<system_error> (since C++11) 플랫폼 종속적인 오류 코드 std::error_code를 정의
<cerrno> Macro containing the last error number

문자열 라이브러리

<cctype> functions to determine the type contained in character data
<cwctype> functions for determining the type of wide character data
<cstring> various narrow character string handling functions
<cwchar> various wide and multibyte string handling functions
<cuchar> (since C++11) C-style Unicode character conversion functions
<string> std::basic_string class template

컨테이너 라이브러리

<array> (since C++11) std::array 컨테이너
<dynarray> (since C++14) std::dynarray 컨테이너
<vector> std::vector 컨테이너
<deque> std::deque 컨테이너
<list> std::list 컨테이너
<forward_list> (since C++11) std::forward_list 컨테이너
<set> std::set and std::multiset associative containers
<map> std::map and std::multimap associative containers
<unordered_set> (since C++11) std::unordered_set and std::unordered_multiset unordered associative containers
<unordered_map> (since C++11) std::unordered_map and std::unordered_multimap unordered associative containers
<stack> std::stack container adaptor
<queue> std::queue and std::priority_queue container adaptors

알고리즘 라이브러리

<algorithm> 컨테이너 상에서 동작하는 알고리즘

반복자 라이브러리

<iterator> 컨테이너 반복자

수 라이브러리

<cmath> 공용 수학 함수
<complex> 복소수 자료형
<valarray> Class for representing and manipulating arrays of values
<random> (since C++11) 난수 생성기 및 분포
<numeric> Numeric operations on values in containers
<ratio> (since C++11) 컴파일 시간 유리수 연산
<cfenv> (since C++11) 부동소숫점 환경 접근 함수

입·출력 라이브러리

<iosfwd> 입·출력 라이브러리 내의 모든 클래스에 대한 전방 선언
<ios> std::ios_base 클래스, std::basic_ios 클래스 템플릿 및 몇몇 형식 정의
<istream> std::basic_istream 클래스 템플릿 및 몇몇 형식 정의
<ostream> std::basic_ostream 클래스 템플릿 및 몇몇 형식 정의
<iostream> std::basic_iostream 클래스 템플릿 및 몇몇 형식 정의
<fstream> std::basic_fstream, std::basic_ifstream, std::basic_ofstream 클래스 템플릿 및 몇몇 형식 정의
<sstream> std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream 클래스 템플릿 및 몇몇 형식 정의
<strstream> std::strstream, std::istrstream, std::ostrstream(deprecated)
<iomanip> Helper functions to control the format or input and output
<streambuf> std::basic_streambuf 클래스 템플릿
<cstdio> C 스타일 입·출력 함수

지역화 라이브러리

<locale> 지역화 유틸리티
<clocale> C 지역화 유틸리티
<codecvt> (since C++11) 유니코드 변환 기능

정규 표현식 라이브러리

<regex> (since C++11) Classes, algorithms and iterators to support regular expression processing

Atomic Operations library

<atomic> (since C++11) Atomic operations library

스레드 지원 라이브러리

<thread> (since C++11) std::thread 클래스 및 지원 함수
<mutex> (since C++11) mutual exclusion primitives
<shared_mutex> (since C++14) shared mutual exclusion primitives
<future> (since C++11) primitives for asynchronous computations
<condition_variable> (since C++11) thread waiting conditions

C 호환 헤더

<ciso646> 빈 헤더. C의 iso646.h에 정의된 매크로는 C++에서 키워드가 되었습니다.
<ccomplex> (since C++11) <complex> 헤더를 포함하는 헤더
<ctgmath> (since C++11) simply includes the headers <ccomplex> and <cmath>: the overloads equivalent to the contents of the C header tgmath.h are already provided by <cmath> and <complex>
<cstdalign> (since C++11) defines one compatibility macro constant
<cstdbool> (since C++11) defines one compatibility macro constant

Deprecated headers

<assert.h> (deprecated) behaves as if each name from <cassert> is placed in global namespace
<complex.h> (deprecated) behaves as if each name from <ccomplex> is placed in global namespace
<ctype.h> (deprecated) behaves as if each name from <cctype> is placed in global namespace
<errno.h> (deprecated) behaves as if each name from <cerrno> is placed in global namespace
<fenv.h> (deprecated) behaves as if each name from <cfenv> is placed in global namespace
<float.h> (deprecated) behaves as if each name from <cfloat> is placed in global namespace
<inttypes.h> (deprecated) behaves as if each name from <cinttypes> is placed in global namespace
<iso646.h> (deprecated) behaves as if each name from <ciso646> is placed in global namespace
<limits.h> (deprecated) behaves as if each name from <climits> is placed in global namespace
<locale.h> (deprecated) behaves as if each name from <clocale> is placed in global namespace
<math.h> (deprecated) behaves as if each name from <cmath> is placed in global namespace
<setjmp.h> (deprecated) behaves as if each name from <csetjmp> is placed in global namespace
<signal.h> (deprecated) behaves as if each name from <csignal> is placed in global namespace
<stdalign.h> (deprecated) behaves as if each name from <cstdalign> is placed in global namespace
<stdarg.h> (deprecated) behaves as if each name from <cstdarg> is placed in global namespace
<stdbool.h> (deprecated) behaves as if each name from <cstdbool> is placed in global namespace
<stddef.h> (deprecated) behaves as if each name from <cstddef> is placed in global namespace
<stdint.h> (deprecated) behaves as if each name from <cstdint> is placed in global namespace
<stdio.h> (deprecated) behaves as if each name from <cstdio> is placed in global namespace
<stdlib.h> (deprecated) behaves as if each name from <cstdlib> is placed in global namespace
<string.h> (deprecated) behaves as if each name from <cstring> is placed in global namespace
<tgmath.h> (deprecated) behaves as if each name from <ctgmath> is placed in global namespace
<time.h> (deprecated) behaves as if each name from <ctime> is placed in global namespace
<uchar.h> (deprecated) behaves as if each name from <cuchar> is placed in global namespace
<wchar.h> (deprecated) behaves as if each name from <cwchar> is placed in global namespace
<wctype.h> (deprecated) behaves as if each name from <cwctype> is placed in global namespace