[Boost-bugs] [Boost C++ Libraries] #3096: compiler error (Borland C++ Builder 4): unordered_map - "value_base"

Subject: [Boost-bugs] [Boost C++ Libraries] #3096: compiler error (Borland C++ Builder 4): unordered_map - "value_base"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-27 10:32:10


#3096: compiler error (Borland C++ Builder 4): unordered_map - "value_base"
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: danieljames
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: unordered
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 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:

 "
 [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.
 "

 I think you can lookup the Error numbers from Borland since I don't know
 their exact English translations within Borland.


 The error is concerning the following declaration:
 {{{
 struct value_base {
                 typename boost::aligned_storage<
                     sizeof(value_type),
                     boost::alignment_of<value_type>::value>::type data_;

                 void* address() { return this; }
 };
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3096>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC