ECSTASY
All in the name
Loading...
Searching...
No Matches
util::meta::is_size_t_convertible Concept Reference

Check if a type is std::size_t or is convertible to it. More...

#include <is_size_t_convertible.hpp>

Concept definition

template<typename T>
std::same_as<T, std::size_t> || requires(T value) { static_cast<std::size_t>(value); }
Check if a type is std::size_t or is convertible to it.

Detailed Description

Check if a type is std::size_t or is convertible to it.

Template Parameters
TType to check.
Author
Andréas Leroux (andre.nosp@m.as.l.nosp@m.eroux.nosp@m.@epi.nosp@m.tech..nosp@m.eu)
Since
1.0.0 (2024-11-21)

Definition at line 30 of file is_size_t_convertible.hpp.