zengine-old/engine/3rdparty/zlib/include/meta/comparable.h

18 lines
318 B
C
Raw Permalink Normal View History

2024-06-16 22:52:45 +08:00
#pragma once
#include <utility>
namespace meta
{
template<typename T>
struct comparable
{
bool operator>(const T&) const;
bool operator<=(const T&) const;
bool operator>=(const T&) const;
bool operator==(const T&) const;
bool operator!=(const T&) const;
private:
T& me();
const T& me() const;
};
}