C++ Programming/Half open
Jump to navigation
Jump to search
A range [a,b) or (a,b] is half-open in that it is "open" at one end (doesn't include its limit point) and "closed" at the other (does include its limit point).
is defined as
These terms have most meaning in a topological space, but are also useful in computer science.