Interval: checking for equality

20 Apr
2011
20 Apr
'11
12:12 p.m.
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?
5057
Age (days ago)
5057
Last active (days ago)
0 comments
1 participants
participants (1)
-
gast128