Function template right_subtract
boost::itl::right_subtract
Synopsis
template<class DomainT , ITL_COMPARE Compare>
interval< DomainT, Compare >
right_subtract(interval< DomainT, Compare > left,
const interval< DomainT, Compare > & right_minuend);
Description
subtract right_minuend
from the left
interval on it's right side. Return the difference: The part of left
right of right_minuend
.
left_over = left - right_minuend; //on the right side.
[a ... : left
[b ... : right_minuend
[a b) : left_over