Boost logo

Boost Users :

From: Becher, Jochen (jochen.becher_at_[hidden])
Date: 2008-05-28 09:30:28


Hi,

 

The following type expression evaluates to the false_ type:

 

boost::is_const<std::map<std::string,std::string>::const_iterator::refer
ence>::type

 

It should evaluate to the true type because ...::reference is

 

const std::pair<const std::string,std::string>

 

Does anybody know the reason why? I compile this using MSVC 2005 (SP1).

 

Regards, Jochen Becher

 

Jochen Becher

Software Architect

Stryker Navigation

Stryker Leibinger GmbH & Co. KG

Boetzinger Strasse 41

79111 Freiburg, Germany

t: +49 761 4512 463

f:: +49 761 4512 449 463

jochen.becher_at_[hidden]

 

Stryker Leibinger GmbH & Co. KG
Sitz: Freiburg - Handelsregister: AG Freiburg HRA 4375
Komplementaerin: Stryker Beteiligungs GmbH
Geschaeftsfuehrer: Dr. Heinrich W. Dreyer, Klaus Welte
Sitz: Freiburg - Handelsregister: AG Freiburg HRB 5441
Bankverbindung: Bank of America N.A. Frankfurt 17 362 010 - BLZ 500 109 00, IBAN: DE04 5001 0900 0017 3620 10

 

Diese Nachricht und etwaige Dateianhaenge sind vertrauliche Informationen, die besonderen Geheimhaltungsvereinbarungen oder -vorschriften unterliegen koennen. Falls Sie nicht der beabsichtigte Empfaenger der Nachricht sind, werden Sie gebeten, den Absender telefonisch oder durch E-Mail zu unterrichten und die Nachricht und etwaige Dateianhaenge vollstaendig und endgueltig zu loeschen. Die Nachricht und ihr Inhalt duerfen in diesem Fall nicht kopiert, ausgedruckt oder weitergeleitet werden.

This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or e-mail the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net