
24 Aug
2004
24 Aug
'04
6:38 p.m.
Is a compile-time variables concept known? It would be a set of macros
would allow assigning and changing a number assigned to a variable's name. Such variable would be considered as a constant from template argument's
"Goran Mitrovic" <gmit@inet.hr> wrote that perspective,
for example.
Is it possible that you mean something like implemented by BOOST_PP_ASSIGN_SLOT?
One of the usage for such classes I have in mind would be the painless type registration of typeof macro, for example...
I 've been using BOOST_PP_ASSIGN_SLOT for this particular purpose. Regards, Arkadiy