Boost logo

Boost :

From: Eric Ford (eford_at_[hidden])
Date: 2001-09-20 14:04:58

Is there a reason numeric cast performs runtime checks when casting to
the same type? I was thinking of adding something like:

typedef typename ::boost::remove_cv<Source>::type Source_no_cv;
typedef typename ::boost::remove_cv<Target>::type Target_no_cv;
if(::boost::is_same<Source_no_cv,Target_no_cv>::value) return arg;


Boost list run by bdawes at, gregod at, cpdaniel at, john at