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
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
Yet another clang/gcc discrepancy regarding ODR usage?
Aug 03, 2019
c++
c++11
g++
clang++
one-definition-rule
Static variable in a Header File
Sep 22, 2022
c++
one-definition-rule
static keyword in h file and internal linkage
Mar 30, 2020
c++
static
linkage
one-definition-rule
constexpr global of class type
Oct 21, 2022
c++
c++11
global
constexpr
one-definition-rule
C the same global variable defined in different files
Nov 16, 2022
c
linker
one-definition-rule
Why is there no multiple definition error when you define a class in a header file?
Nov 15, 2022
c++
linker
header-files
one-definition-rule
GoogleTest PrintTo not getting called for a class
Feb 13, 2019
c++
googletest
one-definition-rule
« Newer Entries
Older Entries »