List Question
10 TechQA 2024-12-31 00:05:21using constants in header file with ODR compliance
1.5k views
Asked by Ryan Haining
Does using `__DATE__` or `__TIME__` violate the one-definition-rule?
175 views
Asked by Ralph Tandetzky
Declaring functions and variables multiple times in C++
4.3k views
Asked by Kushashwa Ravi Shrimali
constexpr global of class type
1.2k views
Asked by Potatoswatter
Does the one-definition-rule force a single static function variable to be created?
796 views
Asked by orlp
Why doesn't the compiler warn against ODR violations in the same translation unit
298 views
Asked by Curious
Template trick to define a global array in the header
395 views
Asked by marcin
Why is tuple_size a trait and not a member
1.1k views
Asked by Curious
Does it make sense to have a static global variable in a header file?
56.6k views
Asked by Vikram Ranabhatt
How to find length of parameter input of function?
128 views
Asked by Alex_vT