Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in one-definition-rule
Declaring functions and variables multiple times in C++
Feb 14, 2022
c++
declaration
definition
one-definition-rule
C++: Different classes with the same name in different translation units
Sep 22, 2021
c++
one-definition-rule
Is an implementation required to diagnose ODR-violations of duplicated definitions of the same explicit specialization within the same TU?
May 06, 2022
c++
templates
language-lawyer
template-specialization
one-definition-rule
struct with same name but different member in C++
Oct 19, 2022
c++
c++11
undefined-behavior
one-definition-rule
Why does passing to a function a set::iterator instead of a const_iterator violate the One Definition Rule?
Oct 23, 2022
c++
iterator
set
parameter-passing
one-definition-rule
Where should the definition of an explicit specialization of a class template be placed in C++?
Nov 15, 2022
c++
templates
language-lawyer
standards
one-definition-rule
Strings in headers -- does this violate the ODR?
Apr 13, 2018
c++
c++11
c++14
language-lawyer
one-definition-rule
Static constexpr odr-used or not?
Aug 16, 2022
c++
c++11
constexpr
one-definition-rule
Why do we declare and define functions separately in C++? [duplicate]
Apr 07, 2022
c++
function
declaration
definition
one-definition-rule
Does the one-definition-rule force a single static function variable to be created?
Oct 21, 2019
c++
templates
static-variables
one-definition-rule
Why does the same class being defined in multiple .cpp files not cause a linker multiple definition error?
Apr 10, 2022
c++
one-definition-rule
How can __COUNTER__ cause a ODR-violation here?
May 19, 2020
c++
c-preprocessor
one-definition-rule
Is it correct to say that the compiler can replace the expression `a->i` below by its value 1 because...?
Oct 21, 2020
c++
language-lawyer
one-definition-rule
Redeclaration of global variable vs local variable
Sep 22, 2022
c
declaration
definition
redefinition
one-definition-rule
Why C++'s <vector> templated class doesn't break one definition rule?
Mar 27, 2022
c++
templates
language-lawyer
one-definition-rule
emplace_back causes link error on static constexpr member
Apr 07, 2020
c++
language-lawyer
c++17
constexpr
one-definition-rule
Are different translation units allowed to define structures with the same name?
Apr 18, 2022
c
struct
one-definition-rule
Why does in-class initialisation of static members violate the ODR?
Apr 17, 2019
c++
static-members
language-lawyer
one-definition-rule
in-class-initialization
« Newer Entries
Older Entries »