Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext

Miscellaneous Interval Functions

T

discrete
_interval

continuous
_interval

right_open
_interval

left_open
_interval

closed
_interval

open
_interval

Interval bounds

dynamic

dynamic

static

static

static

static

Form

asymmetric

asymmetric

symmetric

symmetric

Miscellaneous

bool touches(const T&, const T&)

1

1

1

1

1

1

T inner_complement(const T&, const T&)

1

1

1

1

1

1

difference_type distance(const T&, const T&)

1

1

1

1

1

1

Miscellaneous Interval Functions

Description

bool touches(const T&, const T&)

touches(x,y) Between the disjoint intervals x and y are no elements.

T inner_complement(const T&, const T&)

z = inner_complement(x,y) z is the interval between x and y

difference_type distance(const T&, const T&)

d = distance(x,y) If the domain type of the interval has a difference_type, d is the distance between x and y.

Back to section . . .

Additional interval functions

Function Synopsis

Interface


PrevUpHomeNext