<div dir="ltr"><div><div><div><br><br></div>Hello,<br><br></div>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:<br>  error:  no member named 'uniform_int' in namespace 'std'<br><br></div><div>Other methods from <random> seem to be working, such as uniform_int_distribution. Is uniform_int deprecated?<br><br><br></div><div>regards,<br></div><div>Matthew Balazsi<br><br><br></div><div>PS: to reproduce the issue, I compiled the following <br><br> clang++ -std=c++11 -stdlib=libc++  main.cpp;  ./a.out<br><br>------------------------------------------------------------------------<br></div><div>main.cpp<br></div><div>------------------------------------------------------------------------<br>#include <random><br>using namespace std;<br><br>int main(int argc,char *argv[])<br>{<br>    std::uniform_int<int> unigen;<br>    std::uniform_int_distribution<int> distribution(0, 99);<br>    return 0;<br>}<br>------------------------------------------------------------------------<br><br>main.cpp:9:7: error: no member named 'uniform_int' in namespace 'std'<br>        std::uniform_int<int> unigen;<br>        ~~~~~^<br>main.cpp:9:22: error: expected '(' for function-style cast or type construction<br>        std::uniform_int<int> unigen;<br>                         ~~~^<br>main.cpp:9:24: error: use of undeclared identifier 'unigen'<br>        std::uniform_int<int> unigen;<br><br></div></div>