C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
c++20/exercise-3-0.hpp File Reference

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.
 

Detailed Description

Solution to Exercise 3-0 (C++20).

Author
Matt Bisson

Definition in file c++20/exercise-3-0.hpp.