Symbol Index (removed)
本页面尝试列出所有曾存在于命名空间 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++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 中移除)
成员名称
relaxed
(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
” 不是保留成员名称
|
现为保留名称 |