
27 Aug
2005
27 Aug
'05
4:18 p.m.
Maybe I'm missing something here :
Brock Peabody wrote: void ETI_Map::build()
{
// add to these mappings as needed ...
(*this)[typeid(short).name()] =
TypeTranslation(typeid(short).name(), C_SHORT, SQL_INTEGER, SQL_C_SSHORT, TypeTranslation::TYPE_PRIMITIVE, sizeof(short));
but are you using typeid(short).name() as a map key ? I think the standard doesn't guaranties uniqueness for the type_info::name. -- Sebastian Galkin