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
    targ_size_t
    type_size
    (
    type* t
    )
  2. targ_size_t type_size(const type* t)

Parameters

t
Type: type*

type

Return Value

size

Meta