/src/CMake/Source/cmStandardLevel.h
Line | Count | Source |
1 | | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
2 | | file LICENSE.rst or https://cmake.org/licensing for details. */ |
3 | | #pragma once |
4 | | |
5 | | #include "cmConfigure.h" // IWYU pragma: keep |
6 | | |
7 | | class cmStandardLevel |
8 | | { |
9 | | size_t index_; |
10 | | |
11 | | public: |
12 | | cmStandardLevel(size_t index) |
13 | 0 | : index_(index) |
14 | 0 | { |
15 | 0 | } |
16 | 0 | size_t Index() const { return index_; } |
17 | | friend bool operator<(cmStandardLevel l, cmStandardLevel r) |
18 | 0 | { |
19 | 0 | return l.index_ < r.index_; |
20 | 0 | } |
21 | | }; |