Boost C++ Libraries: Ticket #10934: is_function return false for cv-qualified function types https://svn.boost.org/trac10/ticket/10934 <p> As the following test shows: </p> <pre class="wiki">#include &lt;boost/type_traits/is_function.hpp&gt; #include &lt;boost/core/lightweight_test_trait.hpp&gt; struct X { void f() {} void fc() const {} void fv() volatile {} void fcv() const volatile {} }; template&lt; class C, class F &gt; void test( F C::* ) { BOOST_TEST_TRAIT_TRUE(( boost::is_function&lt; F &gt; )); } int main() { test( &amp;X::f ); test( &amp;X::fc ); test( &amp;X::fv ); test( &amp;X::fcv ); return boost::report_errors(); } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10934 Trac 1.4.3 John Maddock Thu, 02 Aug 2018 11:36:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10934#comment:1 https://svn.boost.org/trac10/ticket/10934#comment:1 <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> <p> Confirmed and moved to <a class="ext-link" href="https://github.com/boostorg/type_traits/issues/81"><span class="icon">​</span>https://github.com/boostorg/type_traits/issues/81</a> </p> Ticket