Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
import "reflect"
var t T
tType := reflect.TypeOf(t)
n := tType.Size()
n := SizeOf(T);
N : Integer := (T'Size + 7) / 8;
import pympler.asizeof
n = pympler.asizeof.asizeof(t)
n = sizeof (t);
let n = ::std::mem::size_of::<T>();