List Question
20 TechQA 2024-02-27T12:27:21.430000Why does range-for decay this array into pointer according to clang-tidy?
83 views
Asked by OLEGSHA
Why does Code Analysis in Visual Studio Community 2022 report warning C6389 when iostream is included
64 views
Asked by user1854661
How to implement dangling-pointer warning in custom string type
89 views
Asked by StilesCrisis
Cpp Core Guidelines: "const char *" to "const uint8_t *" without reinterpret_cast and C-style cast?
177 views
Asked by user1244932
Is gsl::owner usable for shared-ownership?
151 views
Asked by Johannes Schaub - litb
Why do the C++ Core Guidelines not recommend to use std::optional over pointers when approriate?
569 views
Asked by Henk
Expressing ideas directly in code - what does the definition mean?
102 views
Asked by Johnathon
How can I decay const char that is passed as reference to a function with variadic parameters?
223 views
Asked by Gasim
Why hasn't not_null made it into the C++ standard yet?
2.8k views
Asked by Bruce Adams
How to prevent ODR violations in this case?
628 views
Asked by ThreeStarProgrammer57
Using gsl::narrow fails
224 views
Asked by Andrew Truckle
How do I define __cpp_exceptions for gsl:narrow to compile?
373 views
Asked by Andrew Truckle
CppCoreGuidlines R.33 Why pass `unique_ptr` by reference?
371 views
Asked by evolved
About using directives in namespace in header files
36 views
Asked by Enlico
Why do I get the warning: Don't dereference a pointer that may be invalid
236 views
Asked by Ortwin
Are you meant to recover from contract violations?
302 views
Asked by Lorah Attkins
Why do C++ regular expression functions use output parameters?
157 views
Asked by KHALED ISMAEEL
C++ Core Guidelines: Lifetime - why does the following code trigger a warning?
265 views
Asked by user3768612
Why is this dangling-gsl warning invoked?
2k views
Asked by fabian