ocean ~v6.x.x (2022-01-14T16:08:36.1174149)
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.