$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Toon Knapen (toon_at_[hidden])
Date: 2001-05-30 04:31:37
Dave,
How do you feel about overloading lexical_cast with a version that does
not need explicit template types specified such as the following :
template < typename Target, typename Source >
void lexical_cast(Target& result, const Source& arg) {
result = boost::lexical_cast< Target >( arg );
}
Here the system will figure the Target-type out for you.
t