type_size

Compute size of type in bytes. Mark size as known after error message if it is not known. Instantiate templates as needed to compute size.

  1. targ_size_t type_size(type* t)
    version(COMPILE && SCPP_HTOD)
    extern (C++) nothrow @safe @trusted
    targ_size_t
    type_size
    (
    type* t
    )
  2. targ_size_t type_size(type* t)

Parameters

t type*

type

Return Value

size

Meta