mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
5508a4f89c
Closes https://github.com/postgis/postgis/pull/356 Closes #4311 git-svn-id: http://svn.osgeo.org/postgis/trunk@17231 b70326c6-7e19-0410-871a-916f4a2858ee
19 lines
572 B
C++
19 lines
572 B
C++
#pragma once
|
|
|
|
namespace mapbox {
|
|
namespace geometry {
|
|
|
|
struct empty
|
|
{
|
|
}; // this Geometry type represents the empty point set, ∅, for the coordinate space (OGC Simple Features).
|
|
|
|
constexpr bool operator==(empty, empty) { return true; }
|
|
constexpr bool operator!=(empty, empty) { return false; }
|
|
constexpr bool operator<(empty, empty) { return false; }
|
|
constexpr bool operator>(empty, empty) { return false; }
|
|
constexpr bool operator<=(empty, empty) { return true; }
|
|
constexpr bool operator>=(empty, empty) { return true; }
|
|
|
|
} // namespace geometry
|
|
} // namespace mapbox
|