summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-05-02 01:35:42 +0200
committerSven Gothel <[email protected]>2022-05-02 01:35:42 +0200
commit04f1a7248250097f28b4ec3c27edf13f79881104 (patch)
tree1ab15a9212bc94ac52b850c40c941a0b639573e1 /include
parentde9468076e5903fd48df8019085a8859f1825608 (diff)
Enhance ByteUtils group API doc
Diffstat (limited to 'include')
-rw-r--r--include/jau/byte_util.hpp9
1 files changed, 7 insertions, 2 deletions
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.<br>
+ * Therefore, if-branches and expressions are also of `constexpr` and optimized 'away' at compile time.<br>
+ * This includes the `cpu_to_<endian>(..)` and `<endian>_to_cpu(..)` etc utility functions.
+ *
+ * See endian enum class regarding endian `constexpr` compile time determination.
* @{
*/