xieite ::type_list <Ts ...>::all <>
Defined in fragment xieite :type_list
(header-only:
<xieite/meta/type_list.hpp>
)
Checks if all elements of a
xieite ::type_list
satisfy some functor.Definition
template <auto cond >static constexpr bool all =xieite ::is_satisfd_all <cond ,Ts ...>;
Example
Output:import std ;import xieite ;int main () {using list =xieite ::type_list <int ,char ,short ,long >;// Check if all elements are integer types xieite ::dump (list ::all <[]<std ::integral > {}>); }
true