$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Neal D. Becker (nbecker_at_[hidden])
Date: 2003-10-01 07:44:05
A nice addition to type_traits would be: is_complex.
I'm not sure how to use add it in the current framework of type_traits. A
simple native implementation could be something like:
template<typename T>
struct IsCmplx {
static const bool Yes = false;
};
template<typename FLT>
struct IsCmplx<std::complex<FLT> > {
static const bool Yes = true;
};