• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# basic_json::object_comparator_t
2
3```cpp
4// until C++14
5using object_comparator_t = std::less<StringType>;
6
7// since C++14
8using object_comparator_t = std::less<>;
9```
10
11The comparator used in [`object_t`](object_t.md).
12
13When C++14 is detected, a transparent com parator is used which, when combined with perfect forwarding on find() and
14count() calls, prevents unnecessary string construction.
15
16## Version history
17
18- Unknown.
19