Concept defining what makes a valid spell.
More...
#include <spell_base.hpp>
template<typename T>
typename T::input_type;
typename T::output_type;
{
spell.name() } -> std::convertible_to<std::string>;
{
spell.description() } -> std::convertible_to<std::string>;
requires std::invocable<T, typename T::input_type>;
requires std::same_as<
std::invoke_result_t<T, typename T::input_type>,
typename T::output_type
>;
}
Concept defining what makes a valid spell.
Concept defining what makes a valid spell.
Definition at line 99 of file spell_base.hpp.