#include "inline.hh"
#include <cassert>
#include <type_traits>
#include <utility>
Go to the source code of this file.
|
template<typename To , typename From > |
constexpr To | narrow_cast (From &&from) noexcept |
|
ALWAYS_INLINE constexpr void | narrow_assert (bool ok) |
|
template<typename To , typename From > |
constexpr To | narrow (From from) noexcept |
|
◆ narrow()
template<typename To , typename From >
constexpr To narrow |
( |
From |
from | ) |
|
|
constexprnoexcept |
◆ narrow_assert()
◆ narrow_cast()
template<typename To , typename From >
constexpr To narrow_cast |
( |
From && |
from | ) |
|
|
constexprnoexcept |