Boost C++ Libraries: Ticket #5728: bytes_type type change in 1.47 https://svn.boost.org/trac10/ticket/5728 <p> In previous versions I could do this: </p> <pre class="wiki">template &lt;typename T, std::size_t N&gt; inline std::size_t hash_value(const boost::array&lt;T,N&gt;&amp; arr) { return boost::hash_range(arr.begin(), arr.end()); } boost::hash_combine(seed, ep.address().to_v4().to_bytes()); </pre><p> With 1.47 it doesn't compile, because bytes_type changed from boost::array to boost::asio::detail::array. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5728 Trac 1.4.3 chris_kohlhoff Tue, 29 May 2012 02:16:15 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5728#comment:1 https://svn.boost.org/trac10/ticket/5728#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">invalid</span> </li> </ul> <p> This change is documented <a href="http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/overview/cpp2011/array.html">here</a>. Define <code>BOOST_ASIO_DISABLE_STD_ARRAY</code> if you want to force asio to use boost::array. </p> Ticket