ocean ~master (2021-10-22T21:44:26.740458)
Dub
Repo
SmartEnumCore.opApply
ocean
core
SmartEnum
SmartEnumCore
foreach iterator over the codes and descriptions of the enum and their indices.
int
opApply
(int delegate(ref BaseType code, ref istring desc) dg)
int
opApply
(int delegate(ref size_t index, ref BaseType code, ref istring desc) dg)
template
SmartEnumCore
(BaseType)
static
int
opApply
(
scope
int
delegate
(
ref
size_t
index
,
ref
BaseType
code
,
ref
istring
desc
)
dg
)
Meta
Source
See Implementation
ocean
core
SmartEnum
SmartEnumCore
aliases
opBinaryRight
static functions
code
codeFromIndex
description
descriptionFromIndex
indexOf
opApply
opIndex
static variables
map
foreach iterator over the codes and descriptions of the enum and their indices.