René's URL Explorer Experiment


Title: 定义与 ODR (单一定义规则) - cppreference.com

Generator: MediaWiki 1.43.8

direct link

Domain: zh.cppreference.com

format-detectiontelephone=no

Links:

cppreference.comhttps://zh.cppreference.com/
创建账号https://zh.cppreference.com/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&returnto=cpp%2Flanguage%2Fdefinition
登录https://zh.cppreference.com/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&returnto=cpp%2Flanguage%2Fdefinition
页面https://zh.cppreference.com/cpp/language/definition
讨论https://zh.cppreference.com/Talk:cpp/language/definition
https://zh.cppreference.com/cpp/language/definition
不转换https://zh.cppreference.com/index.php?title=cpp/language/definition&variant=zh
简体https://zh.cppreference.com/index.php?title=cpp/language/definition&variant=zh-hans
繁體https://zh.cppreference.com/index.php?title=cpp/language/definition&variant=zh-hant
大陆简体https://zh.cppreference.com/index.php?title=cpp/language/definition&variant=zh-cn
香港繁體https://zh.cppreference.com/index.php?title=cpp/language/definition&variant=zh-hk
澳門繁體https://zh.cppreference.com/index.php?title=cpp/language/definition&variant=zh-mo
大马简体https://zh.cppreference.com/index.php?title=cpp/language/definition&variant=zh-my
新加坡简体https://zh.cppreference.com/index.php?title=cpp/language/definition&variant=zh-sg
臺灣正體https://zh.cppreference.com/index.php?title=cpp/language/definition&variant=zh-tw
阅读https://zh.cppreference.com/cpp/language/definition
查看源代码https://zh.cppreference.com/index.php?title=cpp/language/definition&action=edit
查看历史https://zh.cppreference.com/index.php?title=cpp/language/definition&action=history
https://zh.cppreference.com/cpp/language/definition
cpphttps://zh.cppreference.com/cpp
languagehttps://zh.cppreference.com/cpp/language
C++https://zh.cppreference.com/cpp
编译器支持https://zh.cppreference.com/cpp/compiler_support
自立实现与有宿主实现https://zh.cppreference.com/cpp/freestanding
语言https://zh.cppreference.com/cpp/language
标准库https://zh.cppreference.com/cpp/standard_library
标准库标头https://zh.cppreference.com/cpp/header
具名要求https://zh.cppreference.com/cpp/named_req
功能特性测试宏https://zh.cppreference.com/cpp/feature_test
语言支持库https://zh.cppreference.com/cpp/utility#语言支持
概念库https://zh.cppreference.com/cpp/concepts
诊断库https://zh.cppreference.com/cpp/error
内存管理库https://zh.cppreference.com/cpp/memory
元编程库https://zh.cppreference.com/cpp/meta
通用工具库https://zh.cppreference.com/cpp/utility
容器库https://zh.cppreference.com/cpp/container
迭代器库https://zh.cppreference.com/cpp/iterator
范围库https://zh.cppreference.com/cpp/ranges
算法库https://zh.cppreference.com/cpp/algorithm
字符串库https://zh.cppreference.com/cpp/string
文本处理库https://zh.cppreference.com/cpp/text
数值库https://zh.cppreference.com/cpp/numeric
日期和时间库https://zh.cppreference.com/cpp/chrono
输入/输出库https://zh.cppreference.com/cpp/io
文件系统库https://zh.cppreference.com/cpp/filesystem
并发支持库https://zh.cppreference.com/cpp/thread
执行控制库https://zh.cppreference.com/cpp/execution
技术规范https://zh.cppreference.com/cpp/experimental
符号索引https://zh.cppreference.com/cpp/symbol_index
外部库https://zh.cppreference.com/cpp/links/libs
[编辑]https://zh.cppreference.com/index.php?title=Template:cpp/navbar_content&action=edit
C++ 语言https://zh.cppreference.com/cpp/language
预处理器https://zh.cppreference.com/cpp/preprocessor
注释https://zh.cppreference.com/cpp/comment
关键词https://zh.cppreference.com/cpp/keyword
转义序列https://zh.cppreference.com/cpp/language/escape
流程控制https://zh.cppreference.com/cpp/language/statements
ifhttps://zh.cppreference.com/cpp/language/if
switchhttps://zh.cppreference.com/cpp/language/switch
forhttps://zh.cppreference.com/cpp/language/for
范围 forhttps://zh.cppreference.com/cpp/language/range-for
whilehttps://zh.cppreference.com/cpp/language/while
do-whilehttps://zh.cppreference.com/cpp/language/do
continuehttps://zh.cppreference.com/cpp/language/continue
breakhttps://zh.cppreference.com/cpp/language/break
gotohttps://zh.cppreference.com/cpp/language/goto
returnhttps://zh.cppreference.com/cpp/language/return
函数https://zh.cppreference.com/cpp/language/functions
函数声明https://zh.cppreference.com/cpp/language/function
lambda 函数表达式https://zh.cppreference.com/cpp/language/lambda
inline 说明符https://zh.cppreference.com/cpp/language/inline
动态异常说明https://zh.cppreference.com/cpp/language/except_spec
noexcept 说明符https://zh.cppreference.com/cpp/language/noexcept_spec
throw 表达式https://zh.cppreference.com/cpp/language/throw
try 块https://zh.cppreference.com/cpp/language/try
catch 处理块https://zh.cppreference.com/cpp/language/catch
命名空间声明https://zh.cppreference.com/cpp/language/namespace
命名空间别名https://zh.cppreference.com/cpp/language/namespace_alias
基础类型https://zh.cppreference.com/cpp/language/types
枚举类型https://zh.cppreference.com/cpp/language/enum
函数类型https://zh.cppreference.com/cpp/language/function
类/结构体类型https://zh.cppreference.com/cpp/language/class
联合体类型https://zh.cppreference.com/cpp/language/union
const/volatilehttps://zh.cppreference.com/cpp/language/cv
decltypehttps://zh.cppreference.com/cpp/language/decltype
autohttps://zh.cppreference.com/cpp/language/auto
constexprhttps://zh.cppreference.com/cpp/language/constexpr
constevalhttps://zh.cppreference.com/cpp/language/consteval
constinithttps://zh.cppreference.com/cpp/language/constinit
存储期说明符https://zh.cppreference.com/cpp/language/storage_duration
初始化https://zh.cppreference.com/cpp/language/initialization
默认初始化https://zh.cppreference.com/cpp/language/default_initialization
值初始化https://zh.cppreference.com/cpp/language/value_initialization
零初始化https://zh.cppreference.com/cpp/language/zero_initialization
复制初始化https://zh.cppreference.com/cpp/language/copy_initialization
直接初始化https://zh.cppreference.com/cpp/language/direct_initialization
聚合初始化https://zh.cppreference.com/cpp/language/aggregate_initialization
列表初始化https://zh.cppreference.com/cpp/language/list_initialization
常量初始化https://zh.cppreference.com/cpp/language/constant_initialization
引用初始化https://zh.cppreference.com/cpp/language/reference_initialization
表达式https://zh.cppreference.com/cpp/language/expressions
值类别https://zh.cppreference.com/cpp/language/value_category
求值顺序https://zh.cppreference.com/cpp/language/eval_order
运算符https://zh.cppreference.com/cpp/language/operators
运算符优先级https://zh.cppreference.com/cpp/language/operator_precedence
替代表示https://zh.cppreference.com/cpp/language/operator_alternative
字面量https://zh.cppreference.com/cpp/language/expressions#字面量
布尔https://zh.cppreference.com/cpp/language/bool_literal
整数https://zh.cppreference.com/cpp/language/integer_literal
浮点https://zh.cppreference.com/cpp/language/floating_literal
字符https://zh.cppreference.com/cpp/language/character_literal
字符串https://zh.cppreference.com/cpp/language/string_literal
nullptrhttps://zh.cppreference.com/cpp/language/nullptr
用户定义https://zh.cppreference.com/cpp/language/user_literal
属性https://zh.cppreference.com/cpp/language/attributes
typedef 声明https://zh.cppreference.com/cpp/language/typedef
类型别名声明https://zh.cppreference.com/cpp/language/type_alias
隐式转换https://zh.cppreference.com/cpp/language/implicit_conversion
static_casthttps://zh.cppreference.com/cpp/language/static_cast
const_casthttps://zh.cppreference.com/cpp/language/const_cast
显式转换https://zh.cppreference.com/cpp/language/explicit_cast
dynamic_casthttps://zh.cppreference.com/cpp/language/dynamic_cast
reinterpret_casthttps://zh.cppreference.com/cpp/language/reinterpret_cast
new 表达式https://zh.cppreference.com/cpp/language/new
delete 表达式https://zh.cppreference.com/cpp/language/delete
https://zh.cppreference.com/cpp/language/classes
类声明https://zh.cppreference.com/cpp/language/class
构造函数https://zh.cppreference.com/cpp/language/constructor
this 指针https://zh.cppreference.com/cpp/language/this
访问说明符https://zh.cppreference.com/cpp/language/access
friend 说明符https://zh.cppreference.com/cpp/language/friend
虚函数https://zh.cppreference.com/cpp/language/virtual
override 说明符https://zh.cppreference.com/cpp/language/override
final 说明符https://zh.cppreference.com/cpp/language/final
explicithttps://zh.cppreference.com/cpp/language/explicit
statichttps://zh.cppreference.com/cpp/language/static
默认构造函数https://zh.cppreference.com/cpp/language/default_constructor
复制构造函数https://zh.cppreference.com/cpp/language/copy_constructor
移动构造函数https://zh.cppreference.com/cpp/language/move_constructor
复制赋值https://zh.cppreference.com/cpp/language/copy_assignment
移动赋值https://zh.cppreference.com/cpp/language/move_assignment
析构函数https://zh.cppreference.com/cpp/language/destructor
模板https://zh.cppreference.com/cpp/language/templates
类模板https://zh.cppreference.com/cpp/language/class_template
函数模板https://zh.cppreference.com/cpp/language/function_template
模板特化https://zh.cppreference.com/cpp/language/template_specialization
形参包https://zh.cppreference.com/cpp/language/pack
内联汇编https://zh.cppreference.com/cpp/language/asm
C++ 的历史https://zh.cppreference.com/cpp/language/history
[编辑]https://zh.cppreference.com/index.php?title=Template:cpp/language/navbar_content&action=edit
基本概念https://zh.cppreference.com/cpp/language/basic_concepts
注释https://zh.cppreference.com/cpp/comment
ASCIIhttps://zh.cppreference.com/cpp/language/ascii
标点https://zh.cppreference.com/cpp/language/punctuators
名字和标识符https://zh.cppreference.com/cpp/language/identifiers
类型https://zh.cppreference.com/cpp/language/type
基础类型https://zh.cppreference.com/cpp/language/types
对象https://zh.cppreference.com/cpp/language/object
作用域https://zh.cppreference.com/cpp/language/scope
对象生存期https://zh.cppreference.com/cpp/language/lifetime
存储期与链接https://zh.cppreference.com/cpp/language/storage_duration
名字查找https://zh.cppreference.com/cpp/language/lookup
有限定名字查找https://zh.cppreference.com/cpp/language/qualified_lookup
无限定名字查找https://zh.cppreference.com/cpp/language/unqualified_lookup
“如同”规则https://zh.cppreference.com/cpp/language/as_if
未定义行为https://zh.cppreference.com/cpp/language/ub
内存模型https://zh.cppreference.com/cpp/language/memory_model
多线程执行与数据竞争https://zh.cppreference.com/cpp/language/multithread
字符集与编码https://zh.cppreference.com/cpp/language/charset
翻译阶段https://zh.cppreference.com/cpp/language/translation_phases
main() 函数https://zh.cppreference.com/cpp/language/main_function
模块https://zh.cppreference.com/cpp/language/modules
约定https://zh.cppreference.com/cpp/language/contracts
[编辑]https://zh.cppreference.com/index.php?title=Template:cpp/language/basics/navbar_content&action=edit
声明https://zh.cppreference.com/cpp/language/declarations
存储类说明符https://zh.cppreference.com/cpp/language/storage_duration
语言链接https://zh.cppreference.com/cpp/language/language_linkage
静态数据成员https://zh.cppreference.com/cpp/language/static
constexprhttps://zh.cppreference.com/cpp/language/constexpr
前置声明https://zh.cppreference.com/cpp/language/class#前置声明
笼统声明https://zh.cppreference.com/cpp/language/enum
模板形参https://zh.cppreference.com/cpp/language/template_parameters
typedefhttps://zh.cppreference.com/cpp/language/typedef
别名声明https://zh.cppreference.com/cpp/language/type_alias
using 声明https://zh.cppreference.com/cpp/language/using_declaration
推导指引https://zh.cppreference.com/cpp/language/class_template_argument_deduction#用户定义的推导指引
static_asserthttps://zh.cppreference.com/cpp/language/static_assert
特性声明https://zh.cppreference.com/cpp/language/declarations
空声明https://zh.cppreference.com/cpp/language/declarations
using 指令https://zh.cppreference.com/cpp/language/namespace#using_指令
显式实例化声明https://zh.cppreference.com/cpp/language/class_template#类模板实例化
显式特化https://zh.cppreference.com/cpp/language/template_specialization
asm 声明https://zh.cppreference.com/cpp/language/asm
默认构造函数https://zh.cppreference.com/cpp/language/default_constructor
复制构造函数https://zh.cppreference.com/cpp/language/copy_constructor
移动构造函数https://zh.cppreference.com/cpp/language/move_constructor
复制赋值运算符https://zh.cppreference.com/cpp/language/copy_assignment
移动赋值运算符https://zh.cppreference.com/cpp/language/move_assignment
析构函数https://zh.cppreference.com/cpp/language/destructor
不完整类型https://zh.cppreference.com/cpp/language/incomplete_type
抽象类类型https://zh.cppreference.com/cpp/language/abstract_class
1 单一定义规则(ODR)https://zh.cppreference.com/cpp/language/definition#单一定义规则(ODR)
1.1 指名实体https://zh.cppreference.com/cpp/language/definition#指名实体
1.2 潜在结果https://zh.cppreference.com/cpp/language/definition#潜在结果
1.3 ODR 使用(非正式定义)https://zh.cppreference.com/cpp/language/definition#ODR_使用(非正式定义)
1.4 ODR 使用(正式定义)https://zh.cppreference.com/cpp/language/definition#ODR_使用(正式定义)
2 缺陷报告https://zh.cppreference.com/cpp/language/definition#缺陷报告
3 引用https://zh.cppreference.com/cpp/language/definition#引用
概念https://zh.cppreference.com/cpp/language/constraints
内联https://zh.cppreference.com/cpp/language/inline
完整类型https://zh.cppreference.com/cpp/language/incomplete_type
模板化实体https://zh.cppreference.com/cpp/language/templates#模板化实体
特化https://zh.cppreference.com/cpp/language/template_specialization
附着到具名模块https://zh.cppreference.com/cpp/language/modules
记号https://zh.cppreference.com/cpp/language/translation_phases#记号
常量初始化https://zh.cppreference.com/cpp/language/constant_initialization
三路比较https://zh.cppreference.com/cpp/language/default_comparisons
只要它们是兼容的类型即可https://zh.cppreference.com/c/language/type#兼容类型
无名命名空间https://zh.cppreference.com/cpp/language/namespace
用户定义的转换https://zh.cppreference.com/cpp/language/cast_operator
new 运算符https://zh.cppreference.com/cpp/memory/new/operator_new
分配https://zh.cppreference.com/cpp/memory/new/operator_new
解分配https://zh.cppreference.com/cpp/memory/new/operator_delete
new 表达式https://zh.cppreference.com/cpp/language/new
delete 表达式https://zh.cppreference.com/cpp/language/delete
复制消除https://zh.cppreference.com/cpp/language/copy_elision
复制消除https://zh.cppreference.com/cpp/language/copy_elision#复制消除
需要用于常量求值https://zh.cppreference.com/cpp/language/constant_expression#常量求值所需要的函数与变量
标识表达式https://zh.cppreference.com/cpp/language/expressions#初等表达式
潜在求值表达式https://zh.cppreference.com/cpp/language/expressions#潜在求值表达式
潜在求值表达式https://zh.cppreference.com/cpp/language/expressions#潜在求值表达式
可用于常量表达式https://zh.cppreference.com/cpp/language/constant_expression#可用于常量表达式
弃值表达式https://zh.cppreference.com/cpp/language/expressions#弃值表达式
非静态数据成员https://zh.cppreference.com/cpp/language/data_members
类成员访问表达式https://zh.cppreference.com/cpp/language/operator_member_access
结构化绑定https://zh.cppreference.com/cpp/language/structured_binding
虚成员函数https://zh.cppreference.com/cpp/language/virtual
初始化https://zh.cppreference.com/cpp/language/initialization
潜在调用https://zh.cppreference.com/cpp/language/destructor#潜在调用的析构函数
CWG 261https://cplusplus.github.io/CWG/issues/261.html
CWG 678https://cplusplus.github.io/CWG/issues/678.html
CWG 1472https://cplusplus.github.io/CWG/issues/1472.html
CWG 1614https://cplusplus.github.io/CWG/issues/1614.html
CWG 1741https://cplusplus.github.io/CWG/issues/1741.html
CWG 1926https://cplusplus.github.io/CWG/issues/1926.html
CWG 2242https://cplusplus.github.io/CWG/issues/2242.html
CWG 2300https://cplusplus.github.io/CWG/issues/2300.html
CWG 2353https://cplusplus.github.io/CWG/issues/2353.html
CWG 2433https://cplusplus.github.io/CWG/issues/2433.html
分类https://zh.cppreference.com/Special:%E9%A1%B5%E9%9D%A2%E5%88%86%E7%B1%BB
使用已弃用source标签的页面https://zh.cppreference.com/index.php?title=Category:%E4%BD%BF%E7%94%A8%E5%B7%B2%E5%BC%83%E7%94%A8source%E6%A0%87%E7%AD%BE%E7%9A%84%E9%A1%B5%E9%9D%A2&action=edit&redlink=1
有原因的 todohttps://zh.cppreference.com/index.php?title=Category:%E6%9C%89%E5%8E%9F%E5%9B%A0%E7%9A%84_todo&action=edit&redlink=1
首页https://zh.cppreference.com/%E9%A6%96%E9%A1%B5
最近更改https://zh.cppreference.com/Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9
随机页面https://zh.cppreference.com/Special:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2
MediaWiki帮助https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents
https://zh.cppreference.com/cpp/language/definition
链入页面https://zh.cppreference.com/Special:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2/cpp/language/definition
相关更改https://zh.cppreference.com/Special:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9/cpp/language/definition
上传文件http://upload.cppreference.com/w/Special:Upload
特殊页面https://zh.cppreference.com/Special:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2
可打印版javascript:print();
固定链接https://zh.cppreference.com/index.php?title=cpp/language/definition&oldid=96743
页面信息https://zh.cppreference.com/index.php?title=cpp/language/definition&action=info
Deutschhttps://de.cppreference.com/cpp/language/definition
Englishhttp://en.cppreference.com/cpp/language/definition
Españolhttp://es.cppreference.com/cpp/language/definition
日本語http://ja.cppreference.com/cpp/language/definition
Русскийhttp://ru.cppreference.com/cpp/language/definition

Viewport: width=1120

Robots: max-image-preview:standard


URLs of crawlers that visited me.