Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Linker error while taking the address of a constexpr variable
struct A { static constexpr int Max = 17; }; int main() { const int* aMax = &A::Max; // linker error: undefined reference to `A::Max' (void) aMax; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Example of custom deleter to manage a resource.
C++ Operator Overloading
Apple is not convertible to itself (clang 3.8.0)
Check if a year is leap year or not
11/18
FUCK
set/map equal_range bug in libc++
my override
Dat pointers
list iota cout
Please log in to post a comment.