|
TuringSim
C++ framework to simulate abstract computing models
|
15 static int compare(
const T& lhs,
const T& rhs) {
35 static int compare(
const std::string& lhs,
const std::string& rhs) {
36 return lhs.compare(rhs);
The namespace for basic function, not specific to TuringSim.
int compare(const T &lhs, const T &rhs)
To compare things.
static int compare(const T &lhs, const T &rhs)
Compare elements with a strong total order.
A class to compare values with a strong total order. The generic way use operator<.
static int compare(const std::string &lhs, const std::string &rhs)
Compare elements with a strong total order.