|
Boost : |
From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2004-08-24 13:38:46
"Goran Mitrovic" <gmit_at_[hidden]> wrote
> Is a compile-time variables concept known? It would be a set of macros
that
> 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
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk