id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 10829,"cardinality() of an interval_set is std::size_t independent of interval type, causing overflow",konstantin.miller@…,Joachim Faulhaber,"For an interval_set boost::icl::interval_set, the cardinality function boost::icl::cardinality() returns std::size_t, which is 32-bit on 32-bit machines. This makes the result wrong, due to overflow, whenever the cardinality of the interval_set does not fit into 32-bit. The following code works on 64-bit but not on 32-bit: {{{ #include int main() { boost::icl::interval_set is; is.add(boost::icl::interval::closed(1, 4294967297LL)); assert(boost::icl::cardinality(is) == 4294967297LL); } }}}",Bugs,new,To Be Determined,ICL,Boost 1.49.0,Problem,,ICL,