|
Boost : |
From: Dirk Gerrits (dirk_at_[hidden])
Date: 2003-02-28 16:00:49
Robert Allan Schwartz wrote:
> The attached document was submitted for publication to C/C++ Users Journal
> today, but I thought it might be worth submitting to Boost as well.
>
> Perhaps my spelling class template could be folded into type_traits?
[code snipped]
Looks interesting, but I'm not sure if it's such a huge advantage over:
template <typename T>
void foo(T)
{
cout << "T is " << typeid(T).name() << endl;
}
The resulting string of your method is more portable of course, but is
that the only reason?
Regards,
Dirk Gerrits
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk