SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1// Copyright (c) 2016, the SDSL Project Authors. All rights reserved.
2// Please see the AUTHORS file for details. Use of this source code is governed
3// by a BSD license that can be found in the LICENSE file.
8#ifndef INCLUDED_SDSL_VERSION
9#define INCLUDED_SDSL_VERSION
10
11#include <cstdint>
12#include <string>
13
15#define SDSL_VERSION_MAJOR 3
17#define SDSL_VERSION_MINOR 0
19#define SDSL_VERSION_PATCH 3
20
22#define SDSL_VERSION (SDSL_VERSION_MAJOR * 10000 + SDSL_VERSION_MINOR * 100 + SDSL_VERSION_PATCH)
23
24namespace sdsl
25{
26
33
35std::string const sdsl_version = std::to_string(sdsl_version_major) + "." + std::to_string(sdsl_version_minor) + "."
36 + std::to_string(sdsl_version_patch);
37
38} // namespace sdsl
39
40#endif
Namespace for the succinct data structure library.
constexpr uint8_t sdsl_version_major
The major version.
Definition version.hpp:28
constexpr uint8_t sdsl_version_minor
The minor version.
Definition version.hpp:30
constexpr uint8_t sdsl_version_patch
The patch version.
Definition version.hpp:32
std::string const sdsl_version
The full version as std::string.
Definition version.hpp:35
#define SDSL_VERSION_MINOR
The minor version as MACRO.
Definition version.hpp:17
#define SDSL_VERSION_MAJOR
The major version as MACRO.
Definition version.hpp:15
#define SDSL_VERSION_PATCH
The patch version as MACRO.
Definition version.hpp:19