68 return std::strong_ordering::equal;
69 else if (*
this < that)
70 return std::strong_ordering::less;
72 return std::strong_ordering::greater;
virtual const void * instance_ptr() const =0
const T & instance_as() const
virtual i_custom_type * clone() const =0
virtual void * instance_ptr()=0
i_custom_type & operator=(const i_custom_type &aRhs)
virtual i_custom_type & assign(const i_custom_type &aRhs)=0
virtual void to_string(i_string &aString) const =0
i_custom_type abstract_type
std::string to_string() const
virtual bool operator<(const i_custom_type &) const =0
virtual void name(i_string &aName) const =0
virtual bool operator==(const i_custom_type &) const =0
bool has_instance() const
std::strong_ordering operator<=>(const i_custom_type &that) const
std::string to_std_string() const