numem ~master (2025-12-14T08:31:01.1033613)
Dub
Repo
AllocSize
numem
core
traits
Gets the amount of bytes needed to allocate an instance of type
T
.
template
AllocSize (
T
) {
static if
(
is(T == class) || is(T == interface)
)
enum
AllocSize
;
static if
(!(
is(T == class) || is(T == interface)
))
enum
AllocSize
;
}
Members
Manifest constants
AllocSize
enum
AllocSize
;
Undocumented in source.
AllocSize
enum
AllocSize
;
Undocumented in source.
Meta
Source
See Implementation
numem
core
traits
aliases
Unconst
Unshared
enums
isAggregateType
isAnyAssignable
isAnyCompatible
isAnyCompatibleRange
isArray
isBasicType
isCOMClass
isCPP
isClasslike
isFloatingPoint
isHeapAllocated
isIntegral
isMovable
isNumeric
isObjectiveC
isPointer
isScalarType
isStructLike
isType
isValidObjectiveC
manifest constants
rcReleaseNames
rcRetainNames
properties
lvalueOf
rvalueOf
templates
AllocAlign
AllocSize
BaseElemOf
Fields
FtoI
FunctionTypeOf
ModifyTypePreservingTQ
OriginalType
Parameters
Ref
ReturnType
Unqual
Unref
getUDAs
hasAnyDestructor
hasElaborateAssign
hasElaborateCopyConstructor
hasElaborateDestructor
hasElaborateMove
hasRCReleaseFunction
hasRCRetainFunction
hasUDA
isAssignable
isCallable
isInnerClass
isRefcounted
variables
isInstanceOf
isSomeFunction
Gets the amount of bytes needed to allocate an instance of type T.