Boost logo

Boost :

From: Tom Brinkman (reportbase_at_[hidden])
Date: 2008-03-20 03:02:30

>> 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::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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at