cplusplus
.com
教程
参考
文章
论坛
C++
教程
参考
文章
论坛
参考
C 库
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
C++11
<cfenv> (fenv.h)
<cfloat> (float.h)
C++11
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
C++11
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
C++11
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
C++11
<ctgmath> (tgmath.h)
<ctime> (time.h)
C++11
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
容器
C++11
<array>
<deque>
C++11
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
C++11
<unordered_map>
C++11
<unordered_set>
<vector>
输入/输出
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
多线程
C++11
<atomic>
C++11
<condition_variable>
C++11
<future>
C++11
<mutex>
C++11
<thread>
其他
<algorithm>
<bitset>
C++11
<chrono>
C++11
<codecvt>
<complex>
<exception>
<functional>
C++11
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
C++11
<random>
C++11
<ratio>
C++11
<regex>
<stdexcept>
<string>
C++11
<system_error>
C++11
<tuple>
C++11
<type_traits>
C++11
<typeindex>
<typeinfo>
<utility>
<valarray>
<utility>
类
pair
函数
C++11
declval
C++11
forward
make_pair
C++11
move
C++11
move_if_noexcept
C++11
swap
类型
C++11
piecewise_construct_t
常量
C++11
piecewise_construct
命名空间
rel_ops
参考
<utility>
头文件
<utility>
Utility components
This header contains utilities in unrelated domains
Pairs:
objects that can hold two values of different types:
pair
,
make_pair
,
piecewise_construct
,
piecewise_construct_t
.
Generic relational operators
: Standard definitions for the
relational operators
!=
,
>
,
<=
and
>=
under a specific namespace:
rel_ops
.
Rvalue casts (C++11)
: Allow the generation of
rvalue references
:
forward
,
move
,
move_if_noexcept
,
declval
.
Generic swap function
: definition used by default by the components of the standard library for all types that do not provide their own overload:
swap
.
函数
swap
交换两个对象的值
(函数模板)
make_pair
构造 pair 对象
(function template)
forward
转发参数
(函数模板)
move
作为右值移动
(函数模板)
move_if_noexcept
Move if noexcept
(function template)
declval
Declaration value
(function template)
类型
pair
Pair of values
(class template)
piecewise_construct_t
Piecewise construct type
(type)
常量
piecewise_construct
Piecewise construct constant
(constant)
命名空间
rel_ops
Relational Operators
(namespace)