generating an unique Identifier - integer- in the Method Scope - at compil time
Not really a Boost relative question, but actually my current idea is making a STRING-CRC at compil time, and i imagine that perhaps in Boost Crc Library or Metaprogramming there is some useful things. i wanna do something like Object::Method() { int ID= CRC(__FILE__,__LINE) } actually i used only __LINE__, but i 've got trouble when the object is overloaded and the overloaded methods occurs at the exact same line in a different CPP, as i use the ID to retrieve some local information (method scope) in the current object through a map. If anyone as some idea or can redirect me on some information, Boost relative or not , it will be helpful. thanks in advance. - VDB - "LNK2019: unresolved external symbol" Olivier Vanden Bos MSN#TheVdeub@hotmail.com AI Programmer UBISOFT Montreal
participants (1)
-
Olivier Vanden Bos