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.25 sec, absolute service time: 0,46 sec 
fork mode |  history  | discussion
Error(s):
/tmp/source-cfffdc.o: In function `main':
source_file.cpp:(.text+0x8): undefined reference to `A::Max'
clang: error: linker command failed with exit code 1 (use -v to see invocation)