Boost C++ Libraries: Ticket #6649: when i try to implement bimap, i have the following compiling error. https://svn.boost.org/trac10/ticket/6649 <p> ../boost/boost/functional/hash/detail/hash_float.hpp:65: error: call of overloaded ‘fpclassify(float&amp;)’ is ambiguous </p> <p> gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/cmath:497: note: candidates are: typename <span class="underline">gnu_cxx::</span>enable_if&lt;std::__is_arithmetic::__value, int&gt;::<span class="underline">type std::fpclassify(_Tp) [with _Tp = float] </span></p> <p> I have no clue why this is happening, i thought it was fixed <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/2033"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/2033</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6649 Trac 1.4.3 kuo7288@… Mon, 05 Mar 2012 16:17:17 GMT <link>https://svn.boost.org/trac10/ticket/6649#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6649#comment:1</guid> <description> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6649" title="#6649: Bugs: when i try to implement bimap, i have the following compiling error. (closed: duplicate)">kuo7288@…</a>: </p> <blockquote class="citation"> <p> ../boost/boost/functional/hash/detail/hash_float.hpp:65: error: call of overloaded ‘fpclassify(float&amp;)’ is ambiguous </p> <p> gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/cmath:497: note: candidates are: typename <span class="underline">gnu_cxx::</span>enable_if&lt;std::__is_arithmetic::__value, int&gt;::<span class="underline">type std::fpclassify(_Tp) [with _Tp = float] </span></p> <p> I have no clue why this is happening, i thought it was fixed <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/2033"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/2033</a> </p> </blockquote> <blockquote class="citation"> <p> Today I compiled with template &lt;class T&gt; </p> <blockquote> <p> inline std::size_t float_hash_value(T v) { </p> <blockquote> <p> using namespace std; </p> </blockquote> </blockquote> <dl class="wiki"><dt><em> compilation conflict,</em></dt><dd>was added before fpclassify to help out with compilation switch (<strong>::</strong>fpclassify(v)) { </dd></dl> <p> Can someone fix this problem please on the next release, std::fpclassify(v) also works </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>Matias Capeletto</dc:creator> <pubDate>Thu, 08 Nov 2012 11:23:11 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6649#comment:2 https://svn.boost.org/trac10/ticket/6649#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">duplicate</span> </li> </ul> Ticket