Skip to content
fn

storage_is_cpu

→bool
bool storage_is_cpu(const int & s)

Predicate: is s a CpuStorage?

Parameters

sStorage
Variant to inspect.

Returns

bool

true iff the variant currently holds the CpuStorage alternative (index 0).