Search code examples
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
Visual Studio separate .h and .cpp files for a set of functions...


c++visual-studio-2015one-definition-rule

Read More
Strings in headers -- does this violate the ODR?...


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

Read More
Does the following actually violate the ODR?...


c++staticinlinelanguage-lawyerone-definition-rule

Read More
How can __COUNTER__ cause a ODR-violation here?...


c++c-preprocessorone-definition-rule

Read More
struct with same name but different member in C++...


c++c++11undefined-behaviorone-definition-rule

Read More
Yet another clang/gcc discrepancy regarding ODR usage?...


c++c++11g++clang++one-definition-rule

Read More
Assign static constexpr class member to runtime variable...


c++templatesc++11constexprone-definition-rule

Read More
BackNext