Boost logo

Boost Users :

From: Olivier Vanden Bos (ovandenbos_at_[hidden])
Date: 2005-02-14 14:31:32


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_at_[hidden]
 AI Programmer
 UBISOFT Montreal


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