
--- Hossein Haeri <powerprogman@yahoo.com> wrote:
Dear MPL maniacs,
Yeah, that's us.
AFAIK, there is no mpl::vector_c which can hold string literals. Or is it?
MPL vectors can hold characters, e.g.: typedef mpl::vector_c<char,'h','e','l','l','o','w','o','r','l','d'> pseudo_string_literal_0; Then you can nest MPL vectors, like this: typedef mpl::vector< pseudo_string_literal_0, ... > pseudo_string_vector; Then write an STL UnaryFunction to output the characters of each pseudo_string_literal. Finally, put it all together with mpl::for_each<>.
Any volunteers please?
Sorry, I have time only to give you this brief outline. (I'm busy trying to implement some advanced numeric metafunctions, compile-time rationals, etc.) Cromwell D. Enage __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com