C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Solution to Exercise 3-0 (C++20). More...
#include <cstdint>
Go to the source code of this file.
Namespaces | |
namespace | exercise_3_0 |
Encapsulate solution for Exercise 3-0. | |
namespace | exercise_3_0::cpp20 |
Encapsulate solution for Exercise 3-0 (C++20). | |
Functions | |
consteval uint32_t | exercise_3_0::cpp20::checked_binary (uint64_t const N) |
Prepend higher bits to lowest bit. | |
Solution to Exercise 3-0 (C++20).
Definition in file c++20/exercise-3-0.hpp.