tern ~master (2024-04-15T17:45:17.8990912)
Dub
Repo
ReturnType
tern
legacy
traits
Gets the return type of a callable symbol.
template
ReturnType (
alias
F
)
if
(
isCallable
!
F
) {
static if
(
isLambda!F && !__traits(compiles, )
)
typeof
(
toDelegate
(
F
))
dg
;
alias
ReturnType
=
TypeOf
!
dg
;
alias
ReturnType
=
std
.
traits
.
ReturnType
!
F
;
}
Members
Aliases
ReturnType
alias
ReturnType
=
std
.
traits
.
ReturnType
!
F
Undocumented in source.
ReturnType
alias
ReturnType
=
TypeOf
!
dg
Undocumented in source.
Variables
dg
typeof
(
toDelegate
(
F
))
dg
;
Undocumented in source.
Meta
Source
See Implementation
tern
legacy
traits
enums
alignof
hasChildren
hasConstructor
hasModifiers
hasParents
isBackward
isBuiltinType
isCallable
isConstructor
isDImplDefined
isDestructor
isDynamicLambda
isElement
isField
isForward
isImplement
isIndexable
isLambda
isLocal
isManifest
isModule
isMutable
isOrganic
isPackage
isProperty
isPure
isReferenceType
isSimRange
isStatic
isTemplate
isTemplatedCallable
isValueType
sizeof
templates
ElementType
Fields
Functions
Implements
Length
Parameters
ReturnType
Templates
TypeOf
Types
Gets the return type of a callable symbol.