Boost C++ Libraries: Ticket #5705: binomial_distribution<long long> compilation error https://svn.boost.org/trac10/ticket/5705 <p> It is an error code: </p> <pre class="wiki">boost::random::mt19937 eng; boost::random::binomial_distribution&lt;long long&gt; dist; dist(eng); </pre><p> Output (VC9): </p> <pre class="wiki">.\boost\random\binomial_distribution.hpp(324) : error C2668: 'abs' : ambiguous call to overloaded function </pre><p> std::abs aren't overloaded for long long. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5705 Trac 1.4.3 Steven Watanabe Tue, 30 Aug 2011 19:37:56 GMT <link>https://svn.boost.org/trac10/ticket/5705#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5705#comment:1</guid> <description> <pre class="wiki">long long abs(long long); </pre><p> is defined in C++11. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sat, 16 Feb 2013 20:35:46 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5705#comment:2 https://svn.boost.org/trac10/ticket/5705#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket