loadLength

Dynamically tries to load the length of val, this is useful for arbitrary range types.

  1. size_t loadLength(T val)
  2. size_t loadLength(T val)
    pure pragma(inline)
    size_t
    loadLength
    (
    T
    )
    (
    T val
    )

Parameters

val T

The value to load the length of.

Remarks: Returns 1 if T has no length apparent.

Return Value

Type: size_t

The loaded length.

Meta