W3cubDocs

/D

dmd.traits

Compiler implementation of the D programming language.

Authors:
Walter Bright
License:
Boost License 1.0
Source
traits.d
Documentation
https://dlang.org/phobos/dmd_traits.html
Coverage
https://codecov.io/gh/dlang/dmd/src/master/src/dmd/traits.d
d_uns64 getTypePointerBitmap(Loc loc, Type t, Array!d_uns64* data);

get an array of size_t values that indicate possible pointer words in memory if interpreted as the type given as argument

Returns:
the size of the type in bytes, d_uns64.max on error

© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/dmd_traits.html