Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in one-definition-rule

GoogleTest PrintTo not getting called for a class

If I don't odr-use a variable, can I have multiple definitions of it across translation units?

Odd behavior passing static constexpr members without definitions by value

anonymous namespaces and the one definition rule

Passing literal as a const ref parameter

Is there a way to detect inline function ODR violations?

Is it safe to use #ifdef guards on C++ class member functions?

Impossibly Fast C++ Delegates and different translation units

Necessity of forward-declaring template functions

c & c++ default global variable linkage, multiple declaration & definition problem

Why is multiple definition of a const global variable allowed in C++ and not in C?

Why are const ints (or shorts) captured implicitly in lambdas? [duplicate]

Do distinct functions have distinct addresses?

Can using a lambda in header files violate the ODR?

What does it mean to "ODR-use" something?

When should I write the keyword 'inline' for a function/method?