Boost C++ Libraries: Ticket #7651: static index check for adapted boost::array https://svn.boost.org/trac10/ticket/7651 <p> To prevent code like </p> <p> boost::array&lt;int,2&gt; test; boost::fusion::at_c&lt;3&gt;(test) = 0; </p> <p> from compiling correctly I suggest to add a static assert "(size_t)N::value &lt; (size_t)Sequence::static_size" to boost::fusion::extension::at_impl&lt;boost_array_tag&gt;::apply&lt;Sequence,N&gt;::call in file boost/fusion/adapted/boost_array/detail/at_impl.hpp </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7651 Trac 1.4.3 Tobias Loew Wed, 19 Dec 2012 07:43:48 GMT attachment set https://svn.boost.org/trac10/ticket/7651 https://svn.boost.org/trac10/ticket/7651 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">at_impl.hpp.patch</span> </li> </ul> Ticket Tobias Loew Wed, 19 Dec 2012 07:44:59 GMT <link>https://svn.boost.org/trac10/ticket/7651#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7651#comment:1</guid> <description> <p> I appended a patch for the issue. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Tue, 18 Nov 2014 22:34:36 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7651#comment:2 https://svn.boost.org/trac10/ticket/7651#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> <a class="ext-link" href="https://github.com/boostorg/fusion/pull/41"><span class="icon">​</span>https://github.com/boostorg/fusion/pull/41</a> </p> Ticket