Boost logo

Boost :

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


Hi,

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

  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?

Best,
Vicente

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

--
View this message in context: http://boost.2283326.n4.nabble.com/interval-implicit-versus-explicit-conversions-tp3605907p3605907.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk