![]() |
Home | Libraries | People | FAQ | More |
The icl provides the possibility of customizing user defined interval class templates and class types with static interval borders to be used with interval containers.
There is a template interval_traits
,
that has to be instatiated for the user defined interval type, in order to
provide associated types and basic functions. Bound types of the interval
are assigned by specializing the template interval_bound_type
.
Customize |
Name |
Description |
---|---|---|
associated types |
|
interval type of the partial specialisation for the user defined type |
|
the domain or element type of the interval |
|
|
the ordering on the elements |
|
basic functions |
|
construct an interval |
|
select the interval's lower bound |
|
|
select the interval's upper bound |
|
interval bounds |
|
specialize meta function |
How to do the customization in detail is shown in example custom interval.