符号索引(被移除)
此页面尝试列出所有可用于标准库,在命名空间 std::
或在有作用域枚举或类的作用域中,但在下列标准中移除的标识符。符号书写如下:
- 函数名带有
()
。 - 模板名带有
<>
。
仍在其他类型中可用的成员名不列于此。
C++11 C++14 C++17 C++20 C++23 C++26
C++14 中移除
gets() (C++11 中弃用)(C++14 中移除)
C++17 中移除
auto_ptr<> (C++11 中弃用)(C++17 中移除)
binary_function<> (C++11 中弃用)(C++17 中移除)
bind1st<>() (C++11 中弃用)(C++17 中移除)
bind2nd<>() (C++11 中弃用)(C++17 中移除)
binder1st<> (C++11 中弃用)(C++17 中移除)
binder2nd<> (C++11 中弃用)(C++17 中移除)
const_mem_fun_ref_t<> (C++11 中弃用)(C++17 中移除)
const_mem_fun_t<> (C++11 中弃用)(C++17 中移除)
const_mem_fun1_ref_t<> (C++11 中弃用)(C++17 中移除)
const_mem_fun1_t<> (C++11 中弃用)(C++17 中移除)
get_unexpected() (C++11 起)(C++11 中弃用)(C++17 中移除)
mem_fun<>() (C++11 中弃用)(C++17 中移除)
mem_fun_ref<>() (C++11 中弃用)(C++17 中移除)
mem_fun_ref_t (C++11 中弃用)(C++17 中移除)
mem_fun_t<> (C++11 中弃用)(C++17 中移除)
mem_fun1_ref_t<> (C++11 中弃用)(C++17 中移除)
mem_fun1_t<> (C++11 中弃用)(C++17 中移除)
pointer_to_binary_function<> (C++11 中弃用)(C++17 中移除)
pointer_to_unary_function<> (C++11 中弃用)(C++17 中移除)
ptr_fun<>() (C++11 中弃用)(C++17 中移除)
random_shuffle<>() (C++14 中弃用)(C++17 中移除)
set_unexpected() (C++11 中弃用)(C++17 中移除)
unary_function<> (C++11 中弃用)(C++17 中移除)
unexpected_handler (C++11 中弃用)(C++17 中移除)
成员名
io_state (C++98 中弃用)(C++17 中移除)
op (C++11 中弃用)(C++17 中移除)
open_mode (C++98 中弃用)(C++17 中移除)
seek_dir (C++98 中弃用)(C++17 中移除)
stossc() (C++98 中弃用)(C++17 中移除)
C++20 中移除
binary_negate<> (C++17 中弃用)(C++20 中移除)
get_temporary_buffer<>() (C++17 中弃用)(C++20 中移除)
is_literal_type<> (C++11 起)(C++17 中弃用)(C++20 中移除)
is_literal_type_v<> (C++17 起)(C++17 中弃用)(C++20 中移除)
not1<>() (C++17 中弃用)(C++20 中移除)
not2<>() (C++17 中弃用)(C++20 中移除)
raw_storage_iterator<> (C++17 中弃用)(C++20 中移除)
result_of<> (C++11 起)(C++17 中弃用)(C++20 中移除)
result_of_t<> (C++14 起)(C++17 中弃用)(C++20 中移除)
return_temporary_buffer<>() (C++17 中弃用)(C++20 中移除)
unary_negate<> (C++17 中弃用)(C++20 中移除)
uncaught_exception() (C++17 中弃用)(C++20 中移除)
成员名
argument_type (C++17 中弃用)(C++20 中移除)
first_argument_type (C++17 中弃用)(C++20 中移除)
second_argument_type (C++17 中弃用)(C++20 中移除)
C++23 中移除
declare_no_pointers() (C++11 起)(C++23 中移除)
declare_reachable() (C++11 起)(C++23 中移除)
get_pointer_safety() (C++11 起)(C++23 中移除)
pointer_safety (C++11 起)(C++23 中移除)
undeclare_no_pointers() (C++11 起)(C++23 中移除)
undeclare_reachable<>() (C++11 起)(C++23 中移除)
成员名
preferred (C++11 起)(C++23 中移除)
strict (C++11 起)(C++23 中移除)
C++26 中移除
codecvt_mode (C++11 起)(C++17 中弃用)(C++26 中移除)
codecvt_utf16<> (C++11 起)(C++17 中弃用)(C++26 中移除)
codecvt_utf8<> (C++11 起)(C++17 中弃用)(C++26 中移除)
codecvt_utf8_utf16<> (C++11 起)(C++17 中弃用)(C++26 中移除)
istrstream<> (C++98 中弃用)(C++26 中移除)
ostrstream<> (C++98 中弃用)(C++26 中移除)
strstream<> (C++98 中弃用)(C++26 中移除)
strstreambuf<> (C++98 中弃用)(C++26 中移除)
wbuffer_convert<> (C++17 中弃用)(C++26 中移除)
wstring_convert<> (C++17 中弃用)(C++26 中移除)
成员名
consume_header (C++11 起)(C++17 中弃用)(C++26 中移除)
freeze() (C++98 中弃用)(C++26 中移除)
generate_header (C++11 起)(C++17 中弃用)(C++26 中移除)
little_endian (C++11 起)(C++17 中弃用)(C++26 中移除)
pcount() (C++98 中弃用)(C++26 中移除)
注解
被移除的名字视为被保留,并可能在未来的标准库修订中重新用于其他设施。
保留作为先前标准化的成员的名字,在可移植代码中不能用作对象式宏的名字。
缺陷报告
下列更改行为的缺陷报告追溯地应用于以前出版的 C++ 标准。
缺陷报告 | 应用于 | 出版时的行为 | 正确行为 |
---|---|---|---|
LWG 3885 | C++17 | “op ” 不是保留的名字
|
它是保留的名字 |