Boost C++ Libraries: Ticket #11900: add_reference<const void>::type == void https://svn.boost.org/trac10/ticket/11900 <p> Since boost 1.60.0, the specializations of add_reference for </p> <p> cost void, const volatile void, volatile void, </p> <p> all yield void. I believe they should instead yield their argument types, as is the case for boost 1.59 and before. </p> <p> The fix is simple, in add_reference.hpp: </p> <p> template &lt;&gt; struct add_reference&lt;const void&gt; { typedef const void type; }; template &lt;&gt; struct add_reference&lt;const volatile void&gt; { typedef const volatile void type; }; template &lt;&gt; struct add_reference&lt;volatile void&gt; { typedef volatile void type; }; </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11900 Trac 1.4.3 John Maddock Sun, 10 Jan 2016 18:11:22 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11900#comment:1 https://svn.boost.org/trac10/ticket/11900#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/217c337233454a41b41176b43577ef534dd0fe97"><span class="icon">​</span>https://github.com/boostorg/type_traits/commit/217c337233454a41b41176b43577ef534dd0fe97</a> </p> Ticket