Exception thrown when a required standard comparer has not been specialized. More...
#include <ogdf/basic/exceptions.h>
Public Member Functions | |
NoStdComparerException (const char *file=nullptr, int line=-1) | |
Constructs a no standard comparer available exception. | |
Public Member Functions inherited from ogdf::Exception | |
Exception (const char *file=nullptr, int line=-1) | |
Constructs an exception. | |
const char * | file () const |
Returns the name of the source file where exception was thrown. | |
int | line () const |
Returns the line number where the exception was thrown. | |
Exception thrown when a required standard comparer has not been specialized.
The default implementation of StdComparer<E> throws this exception, since it provides no meaningful implementation of comparer methods. You need to specialize this class for the types you want to use with sorting and searching methods (like quicksort and binary search).
Definition at line 219 of file exceptions.h.
|
inlineexplicit |
Constructs a no standard comparer available exception.
Definition at line 222 of file exceptions.h.