E.V.E
v2022.03.00

◆ bitincrement

eve::bitincrement = {}
inlineconstexpr

Computes the constant of type T in which the only bit set is the least significant.

Defined in Header

#include <eve/module/core.hpp>

Callable Signatures

namespace eve
{
template< eve::value T >
T bitincrement(as<T> x) noexcept;
}
constexpr callable_bitincrement_ bitincrement
Computes the constant of type T in which the only bit set is the least significant.
Definition: bitincrement.hpp:57
Definition: all_of.hpp:22
Lightweight type-wrapper.
Definition: as.hpp:29

Parameters

  • x : Type wrapper instance embedding the type of the constant.

Return value

The call eve::bitincrement(as<T>()) returns a value of type T in which the only bit set is the least significant

Example