Jia Pu
I am using MSVC 6 with Boost 1-32. Below is my sample code using two indeices:
[...]
When I compile it, I have following errors. The actual message is much longer than this. I don't want paste them here to piss off every one on this mailing list. :)
Anyway, I am not a template expert. I couldn't figure it out myself. Any help will be appreciated. Thanks.
Hi,
I cannot see what could be going wrong with your example.
The attached complete program compiles OK here
with MSVC 6.0 + SP5. Maybe you can post some complete code
that exhibits the problem?
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
#include
StringIdTable;
int main() { StringIdTable string_id_table; string_id_table.insert(StringIdPair(0,"zero")); string_id_table.insert(StringIdPair(1,"one")); string_id_table.insert(StringIdPair(2,"two")); return 0; }