ensureValueTypeMember

Ensures that T, which is a the nested type of the type of the ith member of S (i.e. S.tupleof[i]), is a value type; that is, it contains no references.

  1. template ensureValueTypeMember(S, size_t i)
  2. template ensureValueTypeMember(S, size_t i, T)
    package
    template ensureValueTypeMember (
    S
    size_t i
    T
    ) {}

Members

Aliases

M
alias M = typeof(S.tupleof)[i]
Undocumented in source.

Parameters

S

an aggregate type (usually a struct), for the message

i

the index of the aggregate member to check, for the message

T

the type that is expected to be a value type

Meta