Boost C++ Libraries: Ticket #3096: compiler error (Borland C++ Builder 4): unordered_map - "value_base" https://svn.boost.org/trac10/ticket/3096 <p> When trying to compile a program using boost::unordered_map from Version 1.39 with Borland C++ Builder 4 (I have to :( ) I get the following compiler error: </p> <p> " [C++ Fehler] hash_table_impl.hpp(91): E2401 Ungültige Template-Argumentliste. [C++ Fehler] hash_table_impl.hpp(92): E2040 Deklaration nicht ordnungsgemäß abgeschlossen. [C++ Fehler] hash_table_impl.hpp(91): E2401 Ungültige Template-Argumentliste. [C++ Fehler] hash_table_impl.hpp(92): E2040 Deklaration nicht ordnungsgemäß abgeschlossen. " </p> <p> I think you can lookup the Error numbers from Borland since I don't know their exact English translations within Borland. </p> <p> The error is concerning the following declaration: </p> <pre class="wiki">struct value_base { typename boost::aligned_storage&lt; sizeof(value_type), boost::alignment_of&lt;value_type&gt;::value&gt;::type data_; void* address() { return this; } }; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3096 Trac 1.4.3 Daniel James Wed, 27 May 2009 21:09:53 GMT <link>https://svn.boost.org/trac10/ticket/3096#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3096#comment:1</guid> <description> <p> Can you try the version in trunk? It mostly works on Borland 5.5. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 28 May 2009 08:48:14 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3096#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3096#comment:2</guid> <description> <p> I'll give it a try in about 2 weeks after my vacation. :) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 10 Jun 2009 11:18:24 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3096#comment:3 https://svn.boost.org/trac10/ticket/3096#comment:3 <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> The version in trunk (10.06.2009 13:17) works well. Thanks. </p> Ticket