
22 Apr
2004
22 Apr
'04
1:33 p.m.
On Thu, 22 Apr 2004 07:32:03 -0400 "Arkadiy Vertleyb" <vertleyb@hotmail.com> wrote:
There are two problems I can see here. One is related to getting a unique integer (what I am using __COUNTER__ for). I am trying to figure out the portable way of doing this (Paul just showed me something I think can work). Second -- registration is a specialization, and so has to be done out of global namespace (to get into the required namespace). This is also inconvenient.
For what do you need the unique integer (i.e., what does it buy you)? Will it be used as an integral constant template parameter, or as a key during runtime, or what?