From b39e7e4b0987859f5b19ff7686b149c916588658 Mon Sep 17 00:00:00 2001 From: Werner Henze <34543625+beinhaerter@users.noreply.github.com> Date: Mon, 26 Feb 2024 22:23:45 +0100 Subject: [PATCH] Add documentation for to_integer(byte) (#1144) Co-authored-by: Werner Henze --- docs/headers.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/headers.md b/docs/headers.md index ae1c3d6..11dd0cd 100644 --- a/docs/headers.md +++ b/docs/headers.md @@ -133,6 +133,13 @@ constexpr byte operator~(byte b) noexcept; Bitwise negation of a `byte`. Flips all bits. Zeroes become ones, ones become zeroes. +```cpp +template ::value>> +constexpr IntegerType to_integer(byte b) noexcept; +``` + +Convert the given `byte` value to an integral type. + ```cpp template constexpr byte to_byte(T t) noexcept;