cachedDg

Wrap an operation so that it is skipped entirely if the target already exists. Implies atomic.

cachedDg
(
size_t targetIndexA = size_t.max
Impl
Args...
)
(
Impl impl
,
Args args
)

Meta