Boost logo

Boost :

Subject: Re: [boost] [interval] implicit versus explicit conversions
From: Joachim Faulhaber (afojgo_at_[hidden])
Date: 2011-06-17 14:42:17


Hi Vicente,

2011/6/17 Vicente Botet <vicente.botet_at_[hidden]>:
> 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?

I think you are right. They should be explicit. Unfortunately the
authors of Boost.Interval seem not to be active anymore.

As for your "angle bracket problem". Can't you switch off html-mode in
your mail/news-reader? Or change the mail/new program all together?

Cheers,
Joachim

-- 
Interval Container Library [Boost.Icl]
http://www.joachim-faulhaber.de

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