Specify that a type can be used as a substitute for another type after calling eve::as_value
on a value of the first type.
More...
#include <eve/concept/substitute.hpp>
- Template Parameters
-
Substitute | Type of the substitute value. |
Target | Type of the target value that will result from the eve::as_value call. |
template<typename Substitute, typename Target>
concept eve::substitute_for = generator_for<Substitute, Target> || std::constructible_from<Target, Substitute>
Specify that a type can be used as a substitute for another type after calling eve::as_value on a val...
Definition substitute.hpp:27