schema-salad-d ~master (2021-11-30T07:56:22Z)
Home
Dub
Repo
RecordDispatchStatement.DefaultCaseStr
salad
meta
RecordDispatchStatement
Undocumented in source.
enum
DefaultCaseStr
;
enum
DefaultCaseStr
;
template
RecordDispatchStatement
(RetType, RecordTypes...)
static if
(!(
RecordTypes.length == 1
))
static if
(!(
NonDispatchableRecords.length == 0
))
enum
DefaultCaseStr
=
format
!
q"EOS default: return %s(%s); EOS"
(
RetType.stringof
,
ctorStr
!(
NonDispatchableRecords
[
0
])(
"a"
))
;
Meta
Source
See Source File
salad
meta
RecordDispatchStatement
aliases
NonDispatchableRecords
enums
ConstantMembersOf
RecordCaseStr
isDispatchable
manifest constants
DefaultCaseStr
RecordDispatchStatement
RecordTypeName