ocean v6.2.0 (2021-12-09T10:56:40Z)
Home
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.