|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Whether == is usable for T: declared, and its element types usable too.
More...
#include <graph.hpp>
Whether == is usable for T: declared, and its element types usable too.
std::equality_comparable alone is not enough. The standard containers declare an unconstrained operator==, so it holds for a container whose element has no ==, and comparing two of them then fails to compile. So a range is checked through its element type, and std::optional, std::pair, std::tuple and std::variant through theirs.
| T | The value type, without cv-qualifiers. |