
20 Mar
2008
20 Mar
'08
7:02 a.m.
Just use mpl::vector_c<char, ....>. Really, what else is there to do?
Not much. Good Idea. typedef mpl::vector_c<char,'H','e','l','p'> help_t; To pull the string out, I believe that you can do this. std::vector<std::string> help; boost::mpl::for_each<help_t>( boost::bind(&std::vector<std::string>::push_back, &help, _1));
Why would one bother to do this.
Good question. Maybe just because they say that you cant.