conststr 0.2.1
Loading...
Searching...
No Matches
conststr::meta::all_same Concept Reference

This concept is satisfied if all types of Ts... the same type. More...

#include <conststr.hpp>

Concept definition

template<typename... Ts>
concept conststr::meta::all_same = (std::same_as<first_t<Ts...>, Ts> && ...)
This concept is satisfied if all types of Ts... the same type.
Definition: conststr.hpp:307
std::tuple_element_t< 0, std::tuple< Ts... > > first_t
Get the first type of class template parameter pack.
Definition: conststr.hpp:253

Detailed Description

This concept is satisfied if all types of Ts... the same type.

Template Parameters
Tsthe class template parameter pack