Generate a single Range!T that covers the entire set of values found in an array of Range!T, i.e. whose min, max values reflect the smallest and largest min and max found in the array.
Predicate that checks for the existence of one or more gaps in an array of Range!T.
Predicate that checks for the existence of overlaps in array of Range!T.
Predicate that checks contiguity of the array of Range!T.
Range struct template
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).
Copyright (c) 2009-2016 dunnhumby Germany GmbH. All rights reserved.
Simple integer range struct with various comparison functions.
Note that the range template currently only supports unsigned integer types. It would be possible to extend it to also work with signed and/or floating point types.