blob: f0ee985ab124cdb6a3ad557949981957377fcf35 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "position.h"
namespace NSQLComplete {
bool operator<(const TPosition& lhs, const TPosition& rhs) {
return std::tie(lhs.Line, lhs.Column) < std::tie(rhs.Line, rhs.Column);
}
} // namespace NSQLComplete
template <>
void Out<NSQLComplete::TPosition>(IOutputStream& out, const NSQLComplete::TPosition& value) {
out << value.Line << ":" << value.Column;
}
|