NPRPC docs

class Boolean

C++

class Boolean

A boolean as stored on the wire: one byte, 0 or 1.

include/nprpc/flat.hpp:30

Methods

bool get() const noexcept

The stored value.

include/nprpc/flat.hpp:39

void set(bool value) noexcept

Stores value.

include/nprpc/flat.hpp:36

Operators

operator bool() const noexcept

The stored value.

include/nprpc/flat.hpp:53

Boolean &operator=(bool value) noexcept

Stores value.

include/nprpc/flat.hpp:46