Boost logo

Boost :

Subject: [boost] [interval] implicit versus explicit conversions
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2011-06-17 13:01:58


The current interface of boost::interval defines the following implicit

  interval(T const &v);
  template(* class T1 *) interval(T1 const &v);
  template(* class T1, class Policies1 *) interval(interval(* T1, Policies1
*) const &r);

I was wondering if some/all of these shouldn't be declared explicit.

Any thoughts?


P.S. Please replace (* and *) by angle brackets.

View this message in context:
Sent from the Boost - Dev mailing list archive at

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