Boost C++ Libraries: Ticket #9967: Incorrect examples for boost::type_traits::extent https://svn.boost.org/trac10/ticket/9967 <p> 4th example in following documentation is wrong. </p> <ul><li><a href="http://www.boost.org/doc/libs/1_55_0/libs/type_traits/doc/html/boost_typetraits/reference/extent.html">http://www.boost.org/doc/libs/1_55_0/libs/type_traits/doc/html/boost_typetraits/reference/extent.html</a> </li></ul><p> This line "extent&lt;double<a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a><a class="changeset" href="https://svn.boost.org/trac10/changeset/3" title="Tweak disclaimer text">[3]</a><a class="changeset" href="https://svn.boost.org/trac10/changeset/4" title="Tweak disclaimer formatting, again">[4]</a>, 3&gt;::type is the type integral_constant&lt;std::size_t, 4&gt;." should be "extent&lt;double<a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a><a class="changeset" href="https://svn.boost.org/trac10/changeset/3" title="Tweak disclaimer text">[3]</a><a class="changeset" href="https://svn.boost.org/trac10/changeset/4" title="Tweak disclaimer formatting, again">[4]</a>, 2&gt;::type is the type integral_constant&lt;std::size_t, 4&gt;." or "extent&lt;double<a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a><a class="changeset" href="https://svn.boost.org/trac10/changeset/3" title="Tweak disclaimer text">[3]</a><a class="changeset" href="https://svn.boost.org/trac10/changeset/4" title="Tweak disclaimer formatting, again">[4]</a>, 3&gt;::type is the type integral_constant&lt;std::size_t, 0&gt;." </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9967 Trac 1.4.3 John Maddock Wed, 30 Apr 2014 17:14:45 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9967#comment:1 https://svn.boost.org/trac10/ticket/9967#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">fixed</span> </li> </ul> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/type_traits/commit/3327d4c48fd16dd7b5166a947c51d551837f0df6"><span class="icon">​</span>https://github.com/boostorg/type_traits/commit/3327d4c48fd16dd7b5166a947c51d551837f0df6</a> </p> Ticket