Boost C++ Libraries: Ticket #7639: Type Traits Documentation Error https://svn.boost.org/trac10/ticket/7639 <p> In <code>is_function</code> section of type traits' documentation: <a href="http://www.boost.org/doc/libs/1_51_0/libs/type_traits/doc/html/boost_typetraits/reference/is_function.html">http://www.boost.org/doc/libs/1_51_0/libs/type_traits/doc/html/boost_typetraits/reference/is_function.html</a> </p> <p> it states: </p> <pre class="wiki">typedef int f1(); // f1 is of function type. typedef int (f2*)(); // f2 is a pointer to a function. typedef int (f3&amp;)(); // f3 is a reference to a function. </pre><p> It should be: </p> <pre class="wiki">typedef int (*f2)(); typedef int (&amp;f3)(); </pre><p> regards </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7639 Trac 1.4.3 John Maddock Thu, 13 Jun 2013 15:49:04 GMT <link>https://svn.boost.org/trac10/ticket/7639#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7639#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84757" title="Fix typo in docs and regenerate. Refs #7639.">[84757]</a>) Fix typo in docs and regenerate. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7639" title="#7639: Bugs: Type Traits Documentation Error (closed: fixed)">#7639</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 13 Jun 2013 15:53:15 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7639#comment:2 https://svn.boost.org/trac10/ticket/7639#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84759" title="Fix typo in docs and regenerate. Fixes #7639.">[84759]</a>) Fix typo in docs and regenerate. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7639" title="#7639: Bugs: Type Traits Documentation Error (closed: fixed)">#7639</a>. </p> Ticket