$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Interval: checking for equality
From: gast128 (gast128_at_[hidden])
Date: 2011-04-20 08:12:43
Hello all,
I was (mis)using the interval library for time intervals. However the equality
operator fails for a simple test:
boost::numeric::interval<int> intv1(1, 3);
boost::numeric::interval<int> intv2 = intv1;
//throws
bool b = (intv1 == intv2);
probably i don't understand the whole idea about this interval arithmetic
library then. Could somebody tell me what I do wrong?