Graphle 1.0.0
A C++20 header-only graph library
Loading...
Searching...
No Matches
Classes | Static Public Attributes | List of all members
graphle::meta::always_false< T > Class Template Reference

#include <concepts.hpp>

Static Public Attributes

static constexpr bool value = std::is_same_v<T, hidden_type>
 

Detailed Description

template<typename T>
class graphle::meta::always_false< T >

Type trait that is false for any provided type T. Prevents early evaluation in static_assert, allowing the equivalent of static_assert(false) in a constexpr-if branch.

Definition at line 11 of file concepts.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool graphle::meta::always_false< T >::value = std::is_same_v<T, hidden_type>
inlinestaticconstexpr

Definition at line 15 of file concepts.hpp.


The documentation for this class was generated from the following file: