#include <algorithm>
struct Test
{
static const int a = 0, b = 1;
};
int main()
{
std::min(Test::a, Test::b);
return 0;
}
* This source code was highlighted with Source Code Highlighter .
Fail.cpp :(. Text + 0x15): undefined reference to `Test :: a ' ...
Source: https://habr.com/ru/post/73623/
All Articles