Constant static data member can be defined in the class without another
define after the class in C++17. Although it is C++17, Clang can still handle it
even w/o the flag for C++17. Unluckily, GCC cannot handle that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
clang-tidy: warning: variable 'BucketSize' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers]
not useful