Search code examples
A const & refers to a nonvolatile variable. The variable changes. Does the change invalidate the...


c++referenceconstantsundefined-behaviorconst-reference

Read More
Is there any way to guarantee a segfault?...


csegmentation-faultundefined-behavior

Read More
Why is the downcast in CRTP defined behaviour...


c++undefined-behaviorcrtpstatic-cast

Read More
Console Log behaviour - Cannot read Object property...


angularobjectpropertiesundefined-behavior

Read More
Why does this code involving use of references to temporaries segfault although it appears to proper...


c++c++14undefined-behaviorlifetime

Read More
Generating random dates with a fixed range...


cundefined-behaviortime.h

Read More
Interfaces in C...


cstructlanguage-lawyerundefined-behavior

Read More
Is it valid to inline variable length arrays in structs by over-allocating memory?...


carraysstructvarundefined-behavior

Read More
Highcharts Remote Data - JSON Object Undefined...


javascriptarrayshighchartsgetjsonundefined-behavior

Read More
About aligned storage and trivially copyable/destructible types...


c++language-lawyerc++17undefined-behavior

Read More
How do I enable backslash support in GCC?...


c++linuxgcccompatibilityundefined-behavior

Read More
Executing data as code in C...


cundefined-behavior

Read More
Is temporary object originally const?...


c++constantslanguage-lawyerundefined-behaviortemporary-objects

Read More
How This Code Loops Without Any Loop Statement or 'goto' or Recursion?...


c++cloopsundefined-behavior

Read More
Is conversion between vectors defined behavior?...


c++visual-c++language-lawyerstdvectorundefined-behavior

Read More
Is there an expected behaviour for XML files when the real encoding and the tag are inconsistent?...


xmlencodingtagsundefined-behavior

Read More
Valgrind shows memory leak in std::make_unique...


c++memory-leaksundefined-behaviorunique-ptrvirtual-destructor

Read More
Do I misunderstand this example about scope of string literals?...


cstringpointersundefined-behaviorstring-literals

Read More
Why is PHP selecting the Random Values like that?...


phparraysrandomundefined-behavior

Read More
Array index out of bound, but gdb reports the wrong line - why?...


c++debugginggdbundefined-behavior

Read More
Is it OK to make a placement new on memory managed by a smart pointer?...


c++language-lawyerc++17smart-pointersundefined-behavior

Read More
Macro function for printing with UB...


cmacrosprintfundefined-behavior

Read More
seg fault/undefined behavior in comparator function of std::map...


c++c++11segmentation-faultundefined-behavior

Read More
Is the following C union access pattern undefined behavior?...


clanguage-lawyerundefined-behaviorunionstype-punning

Read More
How can I actually use std::chrono types without risking overflow and undefined behavior?...


c++undefined-behaviorinteger-overflowc++-chrono

Read More
Find a void pointer in an container of MyClass pointers?...


c++castingundefined-behaviorvoid-pointers

Read More
Cheking if variable is undefined...


node.jsundefined-behavior

Read More
Allocating memory for a part of structure...


cstructlanguage-lawyerundefined-behavior

Read More
Are pointer variables just integers with some operators or are they "symbolic"?...


c++pointerslanguage-lawyerundefined-behavior

Read More
Difference in the end of lifetime rules?...


c++language-lawyerundefined-behavior

Read More
BackNext