|
Boost Users : |
From: Mihalicza, Jozsef (JMihalicza_at_[hidden])
Date: 2005-09-10 07:35:43
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_at_[hidden] 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<char, 'H','e','l','l','o',' ','W','o','r','l','d'>
Thanks in advance,
-- Felipe Magno de Almeida Developer from synergy and Computer Science student from State University of Campinas(UNICAMP). Unicamp: http://www.ic.unicamp.br Synergy: http://www.synergy.com.br "There is no dark side of the moon really. Matter of fact it's all dark." _______________________________________________ Boost-users mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net