Hi,
Not a naive question, check this:
http://lists.boost.org/Archives/boost/2005/03/83253.php
Regards,
József Mihalicza
________________________________
Feladó: boost-users-bounces@lists.boost.org meghatalmazó: Felipe Magno de Almeida
Hi,
Maybe it is a naive question, but I've been researching a little and
couldnt find an answer to this(not an affirmative and nor negative):
Is it possible to have such usages:
SOME_MACRO(hello world)
or
SOME_MACRO("hello world")
(or something that doesnt have much "characters overhead", like using
space for every character)
and have the expansion result in this:
h e l l o w o r l d
or even better:
'h','e','l','l','o', ' ', 'w', 'o', 'r', 'l', 'd'
Well, what I'm trying to find is if it is possible to give something
to a macro and the macro create an vector_c with all the characters
inside it.
Like:
SOME_MACRO(Hello World)
and expand to:
boost::mpl::vector