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>
<functional>
函数
C++11
bind
C++11
cref
C++11
mem_fn
not1
not2
C++11
ref
包装器类
binary_negate
C++11
函数
C++11
reference_wrapper
unary_negate
运算符类
C++11
bit_and
C++11
bit_or
C++11
bit_xor
divides
equal_to
greater
greater_equal
less
less_equal
logical_and
logical_not
logical_or
minus
modulus
multiplies
negate
not_equal_to
plus
其他类
C++11
bad_function_call
C++11
hash
C++11
is_bind_expression
C++11
is_placeholder
命名空间
C++11
placeholders
已弃用
binary_function
bind1st
bind2nd
binder1st
binder2nd
const_mem_fun_ref_t
const_mem_fun_t
const_mem_fun1_ref_t
const_mem_fun1_t
mem_fun
mem_fun_ref
mem_fun_ref_t
mem_fun_t
mem_fun1_ref_t
mem_fun1_t
pointer_to_binary_function
pointer_to_unary_function
ptr_fun
unary_function
函数
C++11
function::~function
C++11
function::function
成员函数
C++11
function::assign
C++11
function::operator bool
C++11
function::operator()
C++11
function::operator=
C++11
function::swap
C++11
function::target
C++11
function::target_type
非成员重载
C++11
relational operators (function)
C++11
swap (function)
参考
<functional>
函数
~function
public member function
<functional>
std::
function
::~function
~function();
Destroy function wrapper
Destroys the
function
object.
This destroys its
target
, and deallocates any storage allocated by the object.
数据竞争
Both the object and its
target
are modified.
异常安全
无异常保证:
绝不抛出异常。