
19 Apr
2007
19 Apr
'07
12:02 p.m.
Hello all! I have a question on static typing. Does someone know or can imagine a way on producing unique static types. An example: typedef unsigned int some_type; typedef unsigned int other_type; typedef fusion::map< fusion::pair<some_type, std::string>, fusion::pair<other_type, std::string> > my_map; my_map my_map_(fusion::make_pair<some_type>("some_type"), fusion::make_pair<other_type>("other_type")); at_key<other_type>(my_map) should return "other_type" and not "some_type" Many thanks in advance. With Kind Regards, Ovanes