Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme 

Linker error while taking the address of a constexpr variable

Language: Editor: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.24 sec, absolute service time: 0,37 sec 
fork mode |  history  | discussion
Error(s):
/tmp/source-b2e89c.o: In function `main':
source_file.cpp:(.text+0x2): undefined reference to `A::Max'
clang: error: linker command failed with exit code 1 (use -v to see invocation)