Code
#include <iostream>
using namespace std;
int main() {
cout << numeric_limits<int>::min() << endl;
}
Error
error: incomplete type 'std::numeric_limits<int>' used in nested name specifier
Question
I do not understand why I am getting an error with the
std::numeric_limits::min()
IDE
CLion 2020.3
I tried removing and adding the namespace. However, I remain speechless with the error as I am following one of the videos and it did not seem to require prior configuration.