I am trying to compile some code using clang++ (version clang-703.0.31) installed from xcode (version 7.3.1). I have included the -std=c++11 and -stdlib=libc++ flags, yet I always get the following:
error: no member named ‘uniform_int’ in namespace ‘std’
Other methods from seem to be working, such as uniform_int_distribution. Is uniform_int deprecated?
PS: to reproduce the issue, I compiled the following
clang++ -std=c++11 -stdlib=libc++ main.cpp; ./a.out