Iros
Loading...
Searching...
No Matches
bit_cast.h
Go to the documentation of this file.
1
#pragma once
2
3
#ifndef DI_NO_USE_STD
4
#include <bit>
5
#else
6
namespace
std
{
7
template
<
typename
To,
typename
From>
8
constexpr
auto
bit_cast(From
const
& value)
noexcept
-> To {
9
return
__builtin_bit_cast(To, value);
10
}
11
}
12
#endif
13
14
namespace
di::util
{
15
using
std::bit_cast;
16
}
17
18
namespace
di
{
19
using
util::bit_cast;
20
}
di::util
Definition
vocab.h:96
di
Definition
zstring_parser.h:9
std
Definition
enable_generate_structed_bindings.h:46
libs
di
include
di
util
bit_cast.h
Generated by
1.13.0