Skip to content

Rose::BitOps::all

Generate a value with all bits set or cleared.

Synopsis

Declared in <src/Rose/BitOps.h>

template<typename Unsigned>
Unsigned
all(bool b = true);

Return Value

Value with all bits set or cleared.

Parameters

Name

Description

b

If true, set all bits; otherwise clear them.

Created with MrDocs