Samchon Framework for CPP
1.0.0
|
Interface for comparision operator. More...
#include <IOperator.hpp>
Public Member Functions | |
IOperator () | |
Default Constructor. More... | |
virtual auto | operator< (const IOperator &) const -> bool=0 |
Less. More... | |
virtual auto | operator== (const IOperator &) const -> bool=0 |
Equal. More... | |
Interface for comparision operator.
IOperator is a template class makes enalbe to realizing all compare operators by only overriding operator< and operator== methods.
Methods operator< and operator== are abstract. Overrides them.
Definition at line 122 of file IOperator.hpp.
|
inline |
Default Constructor.
Definition at line 128 of file IOperator.hpp.
References samchon::library::IOperator< T >::operator<(), and samchon::library::IOperator< T >::operator==().
|
pure virtual |
Less.
Overrides method less.
obj | The object to compare. |
Referenced by samchon::library::IOperator< T >::IOperator().
|
pure virtual |
Equal.
Overrides methods equal.
obj | The object to compare. |
Referenced by samchon::library::IOperator< T >::IOperator().