mimic++ v2
Loading...
Searching...
No Matches
Utility.hpp File Reference
#include "mimic++/Fwd.hpp"
#include <cassert>
#include <source_location>
#include <string_view>
#include <tuple>
#include <utility>
Include dependency graph for Utility.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mimicpp::always_false<... >
 
struct  mimicpp::priority_tag< priority >
 
struct  mimicpp::priority_tag< 0 >
 

Namespaces

namespace  mimicpp
 

Concepts

concept  mimicpp::explicitly_convertible_to
 
concept  mimicpp::nothrow_explicitly_convertible_to
 
concept  mimicpp::same_as_any
 
concept  mimicpp::satisfies
 

Functions

constexpr bool mimicpp::is_same_source_location (const std::source_location &lhs, const std::source_location &rhs) noexcept
 
template<typename T >
requires std::is_enum_v<T>
constexpr std::underlying_type_t< T > mimicpp::to_underlying (const T value) noexcept
 
void mimicpp::unreachable ()
 Invokes undefined behavior.
 
constexpr bool mimicpp::is_matching (const Constness lhs, const Constness rhs) noexcept
 
constexpr bool mimicpp::is_matching (const ValueCategory lhs, const ValueCategory rhs) noexcept