bound

Instantiator for \c Bound.

Bounds low and high infer type of internal _value. If packed optimize storage for compactness otherwise for speed.

\see http://stackoverflow.com/questions/17502664/instantiator-function-for-bound-template-doesnt-compile

  1. auto bound()
    template bound(alias low, alias high, bool optional = false, bool useExceptions = true, bool packed = true, bool signed = false)
    version(none)
    bound
    ()
    if (
    isCTBound!low &&
    )
  2. auto bound(V value)
  3. template bound(alias value)

Members

Aliases

C
alias C = CommonType!(typeof(low), typeof(high))
Undocumented in source.
V
alias V = BoundsType!(low, high, packed, signed)
Undocumented in source.

Functions

bound
auto bound()
Undocumented in source. Be warned that the author may not have intended to support it.
bound
auto bound(V value)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta