ddc ~master (2020-05-01T11:40:35Z)
Dub
Repo
isCopyable
dmd
mtype
Determine if type t is copyable.
pure nothrow @
nogc
bool
isCopyable
(
const
Type
t
)
Parameters
t
Type:
Type
type to check
Return Value
Type:
bool
true if we can copy it
Meta
Source
See Implementation
dmd
mtype
classes
Parameter
Type
TypeAArray
TypeArray
TypeBasic
TypeClass
TypeDArray
TypeDelegate
TypeEnum
TypeError
TypeFunction
TypeIdentifier
TypeInstance
TypeMixin
TypeNext
TypeNull
TypePointer
TypeQualified
TypeReference
TypeReturn
TypeSArray
TypeSlice
TypeStruct
TypeTraits
TypeTuple
TypeTypeof
TypeVector
enums
DotExpFlag
VarArg
functions
MODimplicitConv
MODmerge
MODmethodConv
MODtoBuffer
MODtoChars
MODtoString
ModToStc
attributesApply
isAggregate
isCopyable
isIndexableNonAggregate
isSomeChar
modifiersApply
toAutoQualChars
structs
ParameterList
Determine if type t is copyable.