From 04f1a7248250097f28b4ec3c27edf13f79881104 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 2 May 2022 01:35:42 +0200 Subject: Enhance ByteUtils group API doc --- include/jau/byte_util.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/jau/byte_util.hpp b/include/jau/byte_util.hpp index 0f1bb15..e570bbc 100644 --- a/include/jau/byte_util.hpp +++ b/include/jau/byte_util.hpp @@ -42,9 +42,14 @@ namespace jau { /** @defgroup ByteUtils Byte Utilities - * Byte utility functions and types for endian- and bit conversions, - * inclusive alignment handling and general get & put functionality. + * Byte utility functions and types for endian- and bit conversions, + * inclusive alignment handling and general get & put functionality. * + * All endian API entries are of `constexpr` and hence evaluated at compile time.
+ * Therefore, if-branches and expressions are also of `constexpr` and optimized 'away' at compile time.
+ * This includes the `cpu_to_(..)` and `_to_cpu(..)` etc utility functions. + * + * See endian enum class regarding endian `constexpr` compile time determination. * @{ */ -- cgit v1.2.3