diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-11-20 01:52:37 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-11-20 01:52:37 -0300 |
commit | 3f2e605dd12e91f81dd8debf46e69accab3aa1d0 (patch) | |
tree | 0a28af05b8d34cfb2433bf4f478c982e23f38fb1 /src/common/CMakeLists.txt | |
parent | 6971d088939a86b3e4cf477168be8f2592679323 (diff) |
common/bit_cast: Add function matching std::bit_cast without constexpr
Add a std::bit_cast-like function archiving the same runtime results as
the standard function, without compile time support.
This allows us to use bit_cast while we wait for compiler support, it
can be trivially replaced in the future.
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r-- | src/common/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 207c7a0a6..d20e6c3b5 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -102,6 +102,7 @@ add_library(common STATIC atomic_ops.h detached_tasks.cpp detached_tasks.h + bit_cast.h bit_field.h bit_util.h cityhash.cpp |