$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Bruce Trask (Bruce.Trask_at_[hidden])
Date: 2005-03-31 09:58:28
Hi,
I want to express a "string" value at compile time. I am assuming that
I have to go with mpl::vector<char> and then convert it at runtime to
its string format. I also have tried using
struct TestString
{
static const char* getName()
{
return "TestStringName";
}
};
and then have the user specify TestString and then I write my other code
to call getName() on the type at runtime.
Are these two choices the best I can hope for with regard to compile-
time "string" values?
Regards,
Bruce