opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
convertible_to_any_of.h
Go to the documentation of this file.
1#pragma once
2
3#include <concepts>
4
5namespace osc
6{
7 // Satisfied if `T` is convertible to any of `U...`.
8 template<typename T, typename... U>
9 concept ConvertibleToAnyOf = (std::convertible_to<T, U> or ...);
10}
Definition convertible_to_any_of.h:9
Definition custom_decoration_generator.h:5
constexpr U to(T &&value)
Definition conversion.h:56