$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2002-05-10 00:59:02
BTW, (it was probaby already discussed, and I just miss it)
Why couldn't we implement is_convertible like this:
struct convertible
{
template<typename From>
struct from
{
template<typename To>
struct to
{
enum { value = .... };
};
};
};
The usage would be more expressive:
is_convertible::from<Type1>::to<Type2>::value
Gennadiy.