René's URL Explorer Experiment


Title: operator overloading - cppreference.com

Generator: MediaWiki 1.43.8

direct link

Domain: www.cppreference.com

format-detectiontelephone=no

Links:

cppreference.comhttps://www.cppreference.com/
Create accounthttps://www.cppreference.com/index.php?title=Special:CreateAccount&returnto=cpp%2Flanguage%2Foperators
Log inhttps://www.cppreference.com/index.php?title=Special:UserLogin&returnto=cpp%2Flanguage%2Foperators
Pagehttps://www.cppreference.com/cpp/language/operators
Discussionhttps://www.cppreference.com/Talk:cpp/language/operators
https://www.cppreference.com/cpp/language/operators
Readhttps://www.cppreference.com/cpp/language/operators
View sourcehttps://www.cppreference.com/index.php?title=cpp/language/operators&action=edit
View historyhttps://www.cppreference.com/index.php?title=cpp/language/operators&action=history
https://www.cppreference.com/cpp/language/operators
cpphttps://www.cppreference.com/cpp
languagehttps://www.cppreference.com/cpp/language
C++https://www.cppreference.com/cpp
Compiler supporthttps://www.cppreference.com/cpp/compiler_support
Freestanding and hostedhttps://www.cppreference.com/cpp/freestanding
Languagehttps://www.cppreference.com/cpp/language
Standard libraryhttps://www.cppreference.com/cpp/standard_library
Standard library headershttps://www.cppreference.com/cpp/header
Named requirementshttps://www.cppreference.com/cpp/named_req
Feature test macroshttps://www.cppreference.com/cpp/feature_test
Language support libraryhttps://www.cppreference.com/cpp/utility#Language_support
Concepts libraryhttps://www.cppreference.com/cpp/concepts
Diagnostics libraryhttps://www.cppreference.com/cpp/error
Memory management libraryhttps://www.cppreference.com/cpp/memory
Metaprogramming libraryhttps://www.cppreference.com/cpp/meta
General utilities libraryhttps://www.cppreference.com/cpp/utility
Containers libraryhttps://www.cppreference.com/cpp/container
Iterators libraryhttps://www.cppreference.com/cpp/iterator
Ranges libraryhttps://www.cppreference.com/cpp/ranges
Algorithms libraryhttps://www.cppreference.com/cpp/algorithm
Strings libraryhttps://www.cppreference.com/cpp/string
Text processing libraryhttps://www.cppreference.com/cpp/text
Numerics libraryhttps://www.cppreference.com/cpp/numeric
Date and time libraryhttps://www.cppreference.com/cpp/chrono
Input/output libraryhttps://www.cppreference.com/cpp/io
Filesystem libraryhttps://www.cppreference.com/cpp/filesystem
Concurrency support libraryhttps://www.cppreference.com/cpp/thread
Execution control libraryhttps://www.cppreference.com/cpp/execution
Technical specificationshttps://www.cppreference.com/cpp/experimental
Symbols indexhttps://www.cppreference.com/cpp/symbol_index
External librarieshttps://www.cppreference.com/cpp/links/libs
[edit]https://cppreference.com/index.php?title=Template:cpp/navbar_content&action=edit
C++ languagehttps://www.cppreference.com/cpp/language
Preprocessorhttps://www.cppreference.com/cpp/preprocessor
Commentshttps://www.cppreference.com/cpp/comment
Keywordshttps://www.cppreference.com/cpp/keyword
Escape sequenceshttps://www.cppreference.com/cpp/language/escape
Flow controlhttps://www.cppreference.com/cpp/language/statements
ifhttps://www.cppreference.com/cpp/language/if
switchhttps://www.cppreference.com/cpp/language/switch
forhttps://www.cppreference.com/cpp/language/for
range-forhttps://www.cppreference.com/cpp/language/range-for
whilehttps://www.cppreference.com/cpp/language/while
do-whilehttps://www.cppreference.com/cpp/language/do
continuehttps://www.cppreference.com/cpp/language/continue
breakhttps://www.cppreference.com/cpp/language/break
gotohttps://www.cppreference.com/cpp/language/goto
returnhttps://www.cppreference.com/cpp/language/return
Functionshttps://www.cppreference.com/cpp/language/functions
Function declarationhttps://www.cppreference.com/cpp/language/function
Lambda function expressionhttps://www.cppreference.com/cpp/language/lambda
inline specifierhttps://www.cppreference.com/cpp/language/inline
Dynamic exception specificationshttps://www.cppreference.com/cpp/language/except_spec
noexcept specifierhttps://www.cppreference.com/cpp/language/noexcept_spec
throw-expressionhttps://www.cppreference.com/cpp/language/throw
try blockhttps://www.cppreference.com/cpp/language/try
catch handlerhttps://www.cppreference.com/cpp/language/catch
Namespace declarationhttps://www.cppreference.com/cpp/language/namespace
Namespace aliaseshttps://www.cppreference.com/cpp/language/namespace_alias
Fundamental typeshttps://www.cppreference.com/cpp/language/types
Enumeration typeshttps://www.cppreference.com/cpp/language/enum
Function typeshttps://www.cppreference.com/cpp/language/function
Class/struct typeshttps://www.cppreference.com/cpp/language/class
Union typeshttps://www.cppreference.com/cpp/language/union
const/volatilehttps://www.cppreference.com/cpp/language/cv
decltypehttps://www.cppreference.com/cpp/language/decltype
autohttps://www.cppreference.com/cpp/language/auto
constexprhttps://www.cppreference.com/cpp/language/constexpr
constevalhttps://www.cppreference.com/cpp/language/consteval
constinithttps://www.cppreference.com/cpp/language/constinit
Storage duration specifiershttps://www.cppreference.com/cpp/language/storage_duration
Initializationhttps://www.cppreference.com/cpp/language/initialization
Default-initializationhttps://www.cppreference.com/cpp/language/default_initialization
Value-initializationhttps://www.cppreference.com/cpp/language/value_initialization
Zero-initializationhttps://www.cppreference.com/cpp/language/zero_initialization
Copy-initializationhttps://www.cppreference.com/cpp/language/copy_initialization
Direct-initializationhttps://www.cppreference.com/cpp/language/direct_initialization
Aggregate initializationhttps://www.cppreference.com/cpp/language/aggregate_initialization
List-initializationhttps://www.cppreference.com/cpp/language/list_initialization
Constant initializationhttps://www.cppreference.com/cpp/language/constant_initialization
Reference initializationhttps://www.cppreference.com/cpp/language/reference_initialization
Expressionshttps://www.cppreference.com/cpp/language/expressions
Value categorieshttps://www.cppreference.com/cpp/language/value_category
Order of evaluationhttps://www.cppreference.com/cpp/language/eval_order
Operator precedencehttps://www.cppreference.com/cpp/language/operator_precedence
Alternative representationshttps://www.cppreference.com/cpp/language/operator_alternative
Literalshttps://www.cppreference.com/cpp/language/expressions#Literals
Booleanhttps://www.cppreference.com/cpp/language/bool_literal
Integerhttps://www.cppreference.com/cpp/language/integer_literal
Floating-pointhttps://www.cppreference.com/cpp/language/floating_literal
Characterhttps://www.cppreference.com/cpp/language/character_literal
Stringhttps://www.cppreference.com/cpp/language/string_literal
nullptrhttps://www.cppreference.com/cpp/language/nullptr
User-definedhttps://www.cppreference.com/cpp/language/user_literal
Attributeshttps://www.cppreference.com/cpp/language/attributes
typedef declarationhttps://www.cppreference.com/cpp/language/typedef
Type alias declarationhttps://www.cppreference.com/cpp/language/type_alias
Implicit conversionshttps://www.cppreference.com/cpp/language/implicit_conversion
static_casthttps://www.cppreference.com/cpp/language/static_cast
const_casthttps://www.cppreference.com/cpp/language/const_cast
Explicit conversionshttps://www.cppreference.com/cpp/language/explicit_cast
dynamic_casthttps://www.cppreference.com/cpp/language/dynamic_cast
reinterpret_casthttps://www.cppreference.com/cpp/language/reinterpret_cast
new expressionhttps://www.cppreference.com/cpp/language/new
delete expressionhttps://www.cppreference.com/cpp/language/delete
Classeshttps://www.cppreference.com/cpp/language/classes
Class declarationhttps://www.cppreference.com/cpp/language/class
Constructorshttps://www.cppreference.com/cpp/language/constructor
this pointerhttps://www.cppreference.com/cpp/language/this
Access specifiershttps://www.cppreference.com/cpp/language/access
friend specifierhttps://www.cppreference.com/cpp/language/friend
Virtual functionhttps://www.cppreference.com/cpp/language/virtual
override specifierhttps://www.cppreference.com/cpp/language/override
final specifierhttps://www.cppreference.com/cpp/language/final
explicithttps://www.cppreference.com/cpp/language/explicit
statichttps://www.cppreference.com/cpp/language/static
Default constructorhttps://www.cppreference.com/cpp/language/default_constructor
Copy constructorhttps://www.cppreference.com/cpp/language/copy_constructor
Move constructorhttps://www.cppreference.com/cpp/language/move_constructor
Copy assignmenthttps://www.cppreference.com/cpp/language/as_operator
Move assignmenthttps://www.cppreference.com/cpp/language/move_operator
Destructorhttps://www.cppreference.com/cpp/language/destructor
Templateshttps://www.cppreference.com/cpp/language/templates
Class templatehttps://www.cppreference.com/cpp/language/class_template
Function templatehttps://www.cppreference.com/cpp/language/function_template
Template specializationhttps://www.cppreference.com/cpp/language/template_specialization
Parameter packshttps://www.cppreference.com/cpp/language/pack
Inline assemblyhttps://www.cppreference.com/cpp/language/asm
History of C++https://www.cppreference.com/cpp/language/history
[edit]https://cppreference.com/index.php?title=Template:cpp/language/navbar_content&action=edit
Expressionshttps://www.cppreference.com/cpp/language/expressions
Value categorieshttps://www.cppreference.com/cpp/language/value_category
Order of evaluationhttps://www.cppreference.com/cpp/language/eval_order
Constant expressionshttps://www.cppreference.com/cpp/language/constant_expression
Primary expressionshttps://www.cppreference.com/cpp/language/expressions#Primary_expressions
Lambda expressionshttps://www.cppreference.com/cpp/language/lambda
Requires expressionshttps://www.cppreference.com/cpp/language/requires
Pack indexing expressionhttps://www.cppreference.com/cpp/language/pack_indexing#Pack_indexing_expression
Potentially-evaluated expressionshttps://www.cppreference.com/cpp/language/expressions#Potentially-evaluated_expressions
Integer literalshttps://www.cppreference.com/cpp/language/integer_literal
Floating-point literalshttps://www.cppreference.com/cpp/language/floating_literal
Boolean literalshttps://www.cppreference.com/cpp/language/bool_literal
Character literalshttps://www.cppreference.com/cpp/language/character_literal
Escape sequenceshttps://www.cppreference.com/cpp/language/escape
String literalshttps://www.cppreference.com/cpp/language/string_literal
Null pointer literalhttps://www.cppreference.com/cpp/language/nullptr
User-defined literalhttps://www.cppreference.com/cpp/language/user_literal
Assignment operatorshttps://www.cppreference.com/cpp/language/operator_assignment
Increment and decrementhttps://www.cppreference.com/cpp/language/operator_incdec
Arithmetic operatorshttps://www.cppreference.com/cpp/language/operator_arithmetic
Logical operatorshttps://www.cppreference.com/cpp/language/operator_logical
Comparison operatorshttps://www.cppreference.com/cpp/language/operator_comparison
Member access operatorshttps://www.cppreference.com/cpp/language/operator_member_access
Reflection operatorhttps://www.cppreference.com/cpp/language/operator_reflection
Other operatorshttps://www.cppreference.com/cpp/language/operator_other
new-expressionhttps://www.cppreference.com/cpp/language/new
delete-expressionhttps://www.cppreference.com/cpp/language/delete
throw-expressionhttps://www.cppreference.com/cpp/language/throw
alignofhttps://www.cppreference.com/cpp/language/alignof
sizeofhttps://www.cppreference.com/cpp/language/sizeof
sizeof...https://www.cppreference.com/cpp/language/sizeof...
typeidhttps://www.cppreference.com/cpp/language/typeid
noexcepthttps://www.cppreference.com/cpp/language/noexcept
Fold expressionshttps://www.cppreference.com/cpp/language/fold
Alternative representations of operatorshttps://www.cppreference.com/cpp/language/operator_alternative
Precedence and associativityhttps://www.cppreference.com/cpp/language/operator_precedence
Default comparisonshttps://www.cppreference.com/cpp/language/default_comparisons
Implicit conversionshttps://www.cppreference.com/cpp/language/implicit_conversion
Explicit conversionshttps://www.cppreference.com/cpp/language/explicit_cast
Usual arithmetic conversionshttps://www.cppreference.com/cpp/language/usual_arithmetic_conversions
User-defined conversionhttps://www.cppreference.com/cpp/language/cast_operator
const_casthttps://www.cppreference.com/cpp/language/const_cast
static_casthttps://www.cppreference.com/cpp/language/static_cast
dynamic_casthttps://www.cppreference.com/cpp/language/dynamic_cast
reinterpret_casthttps://www.cppreference.com/cpp/language/reinterpret_cast
[edit]https://cppreference.com/index.php?title=Template:cpp/language/expressions/navbar_content&action=edit
1 Syntaxhttps://www.cppreference.com/cpp/language/operators#Syntax
2 Explanationhttps://www.cppreference.com/cpp/language/operators#Explanation
2.1 Static overloaded operatorshttps://www.cppreference.com/cpp/language/operators#Static_overloaded_operators
3 Restrictionshttps://www.cppreference.com/cpp/language/operators#Restrictions
4 Canonical implementationshttps://www.cppreference.com/cpp/language/operators#Canonical_implementations
4.1 Assignment operatorhttps://www.cppreference.com/cpp/language/operators#Assignment_operator
4.2 Stream extraction and insertionhttps://www.cppreference.com/cpp/language/operators#Stream_extraction_and_insertion
4.3 Function call operatorhttps://www.cppreference.com/cpp/language/operators#Function_call_operator
4.4 Increment and decrementhttps://www.cppreference.com/cpp/language/operators#Increment_and_decrement
4.5 Binary arithmetic operatorshttps://www.cppreference.com/cpp/language/operators#Binary_arithmetic_operators
4.6 Comparison operatorshttps://www.cppreference.com/cpp/language/operators#Comparison_operators
4.7 Array subscript operatorhttps://www.cppreference.com/cpp/language/operators#Array_subscript_operator
4.8 Bitwise arithmetic operatorshttps://www.cppreference.com/cpp/language/operators#Bitwise_arithmetic_operators
4.9 Boolean negation operatorhttps://www.cppreference.com/cpp/language/operators#Boolean_negation_operator
4.10 Rarely overloaded operatorshttps://www.cppreference.com/cpp/language/operators#Rarely_overloaded_operators
5 Noteshttps://www.cppreference.com/cpp/language/operators#Notes
6 Keywordshttps://www.cppreference.com/cpp/language/operators#Keywords
7 Examplehttps://www.cppreference.com/cpp/language/operators#Example
8 Defect reportshttps://www.cppreference.com/cpp/language/operators#Defect_reports
9 See alsohttps://www.cppreference.com/cpp/language/operators#See_also
10 External linkshttps://www.cppreference.com/cpp/language/operators#External_links
functionshttps://www.cppreference.com/cpp/language/function
allocation functionhttps://www.cppreference.com/cpp/memory/new/operator_new
deallocation functionhttps://www.cppreference.com/cpp/memory/new/operator_delete
co_await expressionshttps://www.cppreference.com/cpp/language/coroutines#co_await
expressionhttps://www.cppreference.com/cpp/language/expressions
class typehttps://www.cppreference.com/cpp/language/class
enumeration typehttps://www.cppreference.com/cpp/language/enum
overload resolutionhttps://www.cppreference.com/cpp/language/overload_resolution
rewritten candidateshttps://www.cppreference.com/cpp/language/overload_resolution#Call_to_an_overloaded_operator
statichttps://www.cppreference.com/cpp/language/static#Static_member_functions
sequencing propertieshttps://www.cppreference.com/cpp/language/eval_order
[1]https://www.cppreference.com/cpp/language/operators#cite_note-1
copy assignmenthttps://www.cppreference.com/cpp/language/copy_assignment
move assignmenthttps://www.cppreference.com/cpp/language/move_assignment
be safe on self-assignmenthttps://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c62-make-copy-assignment-safe-for-self-assignment
leave the moved-from object in valid statehttps://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c64-a-move-operation-should-move-and-leave-its-source-in-a-valid-state
do nothinghttps://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c65-make-move-assignment-safe-for-self-assignment
strong exception guaranteehttps://www.cppreference.com/cpp/language/exceptions#Exception_safety
friend functionshttps://www.cppreference.com/cpp/language/friend
FunctionObjecthttps://www.cppreference.com/cpp/named_req/FunctionObject
algorithmshttps://www.cppreference.com/cpp/algorithm
FunctionObjectshttps://www.cppreference.com/cpp/named_req/FunctionObject
Comparehttps://www.cppreference.com/cpp/named_req/Compare
explicit object parameterhttps://www.cppreference.com/cpp/language/member_functions#Explicit_object_parameter
BitmaskTypehttps://www.cppreference.com/cpp/named_req/BitmaskType
contextual conversion to boolhttps://www.cppreference.com/cpp/language/implicit_conversion#Contextual_conversions
CComPtrBasehttps://docs.microsoft.com/en-us/cpp/atl/reference/ccomptrbase-class?view=msvc-160#operator_amp
boost.spirithttps://www.boost.org/doc/libs/release/libs/spirit/doc/html/spirit/qi/reference/operator/and_predicate.html
boost.assignhttps://www.boost.org/doc/libs/release/libs/assign/doc/index.html#intro
boost.spirithttps://github.com/boostorg/spirit/blob/develop/include/boost/spirit/home/qi/string/symbols.hpp#L317
SOCIhttps://soci.sourceforge.net/doc.html
smart pointer interfacehttps://www.aristeia.com/Papers/DDJ_Oct_1999.pdf
boost.phoenixhttps://www.boost.org/doc/libs/release/libs/phoenix/doc/html/phoenix/modules/operator.html#phoenix.modules.operator.member_pointer_operator
cpp.reacthttps://github.com/schlangster/cpp.react/blob/legacy1/include/react/Signal.h#L557
Feature-testhttps://www.cppreference.com/cpp/utility/feature_test
__cpp_static_call_operatorhttps://www.cppreference.com/cpp/feature_test#cpp_static_call_operator
202207Lhttps://www.cppreference.com/cpp/compiler_support/23#cpp_static_call_operator_202207L
__cpp_multidimensional_subscripthttps://www.cppreference.com/cpp/feature_test#cpp_multidimensional_subscript
202211Lhttps://www.cppreference.com/cpp/compiler_support/23#cpp_multidimensional_subscript_202211L
operatorhttps://www.cppreference.com/cpp/keyword/operator
CWG 1481https://cplusplus.github.io/CWG/issues/1481.html
CWG 2931https://cplusplus.github.io/CWG/issues/2931.html
Operator precedencehttps://www.cppreference.com/cpp/language/operator_precedence
Alternative operator syntaxhttps://www.cppreference.com/cpp/language/operator_alternative
Argument-dependent lookuphttps://www.cppreference.com/cpp/language/adl
assignmenthttps://www.cppreference.com/cpp/language/operator_assignment
incrementdecrementhttps://www.cppreference.com/cpp/language/operator_incdec
arithmetichttps://www.cppreference.com/cpp/language/operator_arithmetic
logicalhttps://www.cppreference.com/cpp/language/operator_logical
comparisonhttps://www.cppreference.com/cpp/language/operator_comparison
memberaccesshttps://www.cppreference.com/cpp/language/operator_member_access
otherhttps://www.cppreference.com/cpp/language/operator_other
static_casthttps://www.cppreference.com/cpp/language/static_cast
dynamic_casthttps://www.cppreference.com/cpp/language/dynamic_cast
const_casthttps://www.cppreference.com/cpp/language/const_cast
cvhttps://www.cppreference.com/cpp/language/cv
reinterpret_casthttps://www.cppreference.com/cpp/language/reinterpret_cast
C-style casthttps://www.cppreference.com/cpp/language/explicit_cast
newhttps://www.cppreference.com/cpp/language/new
deletehttps://www.cppreference.com/cpp/language/delete
sizeofhttps://www.cppreference.com/cpp/language/sizeof
sizeof...https://www.cppreference.com/cpp/language/sizeof...
packhttps://www.cppreference.com/cpp/language/pack
typeidhttps://www.cppreference.com/cpp/language/typeid
noexcepthttps://www.cppreference.com/cpp/language/noexcept
alignofhttps://www.cppreference.com/cpp/language/alignof
^^https://www.cppreference.com/cpp/language/operator_reflection
https://www.cppreference.com/cpp/language/operators#cite_ref-1
Operator Overloadinghttps://stackoverflow.com/questions/4421706/4421719#4421719
Categorieshttps://www.cppreference.com/Special:Categories
Pages using deprecated source tagshttps://www.cppreference.com/index.php?title=Category:Pages_using_deprecated_source_tags&action=edit&redlink=1
Pages using deprecated enclose attributeshttps://www.cppreference.com/index.php?title=Category:Pages_using_deprecated_enclose_attributes&action=edit&redlink=1
Pages with too many expensive parser function callshttps://www.cppreference.com/index.php?title=Category:Pages_with_too_many_expensive_parser_function_calls&action=edit&redlink=1
Support ushttps://www.cppreference.com/support
Recent changeshttps://www.cppreference.com/Special:RecentChanges
FAQhttps://www.cppreference.com/Cppreference:FAQ
Offline versionhttps://www.cppreference.com/Cppreference:Archives
https://www.cppreference.com/cpp/language/operators
What links herehttps://www.cppreference.com/Special:WhatLinksHere/cpp/language/operators
Related changeshttps://www.cppreference.com/Special:RecentChangesLinked/cpp/language/operators
Upload filehttp://upload.cppreference.com/w/Special:Upload
Special pageshttps://www.cppreference.com/Special:SpecialPages
Printable versionjavascript:print();
Permanent linkhttps://www.cppreference.com/index.php?title=cpp/language/operators&oldid=180193
Page informationhttps://www.cppreference.com/index.php?title=cpp/language/operators&action=info
Deutschhttps://de.cppreference.com/cpp/language/operators
Españolhttp://es.cppreference.com/cpp/language/operators
Françaishttp://fr.cppreference.com/cpp/language/operators
Italianohttp://it.cppreference.com/cpp/language/operators
日本語http://ja.cppreference.com/cpp/language/operators
Portuguêshttp://pt.cppreference.com/cpp/language/operators
Русскийhttp://ru.cppreference.com/cpp/language/operators
中文http://zh.cppreference.com/cpp/language/operators

Viewport: width=1120

Robots: max-image-preview:standard


URLs of crawlers that visited me.