Generating a unique symbol

Hi there, Is there anything in boost that will generate a guarenteed unique symbol, possibly based on file and line? I've had a look through the preprocessor library but cannot see anything. Strict portabilty is not an issue as my only requirement is for vc7.1. thanks Martin

"Martin Slater" wrote:
Is there anything in boost that will generate a guarenteed unique symbol, possibly based on file and line? I've had a look through the preprocessor library but cannot see anything. Strict portabilty is not an issue as my only requirement is for vc7.1.
This has been discussed several times, e.g. http://aspn.activestate.com/ASPN/Mail/Message/2058138 and http://aspn.activestate.com/ASPN/Mail/Message/boost/2241723 I do not know how much do they work with VC7.1 (or whether they work at all). /Pavel

This has been discussed several times, e.g. http://aspn.activestate.com/ASPN/Mail/Message/2058138 and http://aspn.activestate.com/ASPN/Mail/Message/boost/2241723
I do not know how much do they work with VC7.1 (or whether they work at all).
Thanks Pavel, it doesn't look like they will work as I need (limited number of instantiations before the compiler bombs out). Martin
participants (2)
-
Martin Slater
-
Pavel Vozenilek