ensureValueTypeMember

Ensures that 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)
    package
    template ensureValueTypeMember (
    S
    size_t i
    ) {}
  2. template ensureValueTypeMember(S, size_t i, T)

Members

Aliases

ensureValueTypeMember
alias ensureValueTypeMember = ensureValueTypeMember!(S, i, typeof(S.tupleof)[i])
Undocumented in source.

Parameters

S

an aggregate type (usually a struct)

i

the index of the aggregate member to check

Meta