Search code examples
Safe to pass empty variables by value, when they have no definition?...


c++c++11c++14externone-definition-rule

Read More
clang - how to declare a static const int in header file?...


c++11staticclangconstantsone-definition-rule

Read More
Why One Definition Rule, not One Declaration Rule?...


c++cone-definition-rule

Read More
Declaring the same variables name within a given same scope in C++...


c++variablesstorageone-definition-rule

Read More
Template trick to define a global array in the header...


c++global-variablesheader-filesone-definition-rule

Read More
undefined reference to const int within shared_ptr...


c++c++17definitionconstexprone-definition-rule

Read More
How to define a class in a source file and declare it in a header file (without having to define the...


c++classheader-filesdeclarationone-definition-rule

Read More
Are structs with preprocessor branched implementation an ODR violation?...


c++cstructone-definition-rule

Read More
Passing literal as a const ref parameter...


c++c++11one-definition-ruleforwarding-referencepass-by-const-reference

Read More
Why doesn't the compiler warn against ODR violations in the same translation unit...


c++templatesc++17one-definition-rule

Read More
C++ standard: ODR and constexpr std::string_view...


c++language-lawyerc++17linkageone-definition-rule

Read More
One Definition Rule - compilation...


c++g++one-definition-rule

Read More
ODR violation with template specializations...


c++c++11one-definition-rule

Read More
inline functions and the one definition rule...


c++c++11inlineone-definition-rule

Read More
Why templates declared in the struct on the header dont violate ODR and specialization does?...


c++templatesone-definition-rule

Read More
Perfect forwarding without ODR-use...


c++c++14constexprperfect-forwardingone-definition-rule

Read More
Dependent Expression and ODR-use in a Generic Lambda in C++14...


c++lambdac++14autoone-definition-rule

Read More
How can a pure-virtual function be invoked without its name being explicitly qualified?...


c++c++11language-lawyervirtual-functionsone-definition-rule

Read More
Continuation of "I just can not understand DR 712"...


c++c++11language-lawyerone-definition-rule

Read More
I just can not understand DR 712...


c++c++11language-lawyerc++17one-definition-rule

Read More
ODR of template class with static constexpr member...


c++c++11c++14constexprone-definition-rule

Read More
How does a class vtable work across shared libraries?...


c++vtablevirtual-functionsone-definition-rule

Read More
Understanding what causes this multiple definition error...


c++linkerone-definition-rule

Read More
Declaring functions and variables multiple times in C++...


c++declarationdefinitionone-definition-rule

Read More
Does using `__DATE__` or `__TIME__` violate the one-definition-rule?...


c++datetimec-preprocessorone-definition-rule

Read More
Using C++ constexpr can create symbol duplication?...


c++c++11gccone-definition-rule

Read More
using constants in header file with ODR compliance...


c++c++11one-definition-rule

Read More
Crash when destructors for static objects are executing...


c++global-variablesstatic-initializationone-definition-rule

Read More
non-static data members and one definition rule...


c++classscopelinkageone-definition-rule

Read More
Is there guaranteed to be only a single copy of a non-inlined inline function?...


c++inlineone-definition-ruleinlining

Read More
BackNext