libexcept 1.1.19
Stack trace along C++ exceptions
version.cpp
Go to the documentation of this file.
1// Copyright (c) 2011-2025 Made to Order Software Corp. All Rights Reserved
2//
3// https://snapwebsites.org/
4// contact@m2osw.com
5//
6// This program is free software; you can redistribute it and/or modify
7// it under the terms of the GNU General Public License as published by
8// the Free Software Foundation; either version 2 of the License, or
9// (at your option) any later version.
10//
11// This program is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14// GNU General Public License for more details.
15//
16// You should have received a copy of the GNU General Public License along
17// with this program; if not, write to the Free Software Foundation, Inc.,
18// 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
20
21// self
22//
23#include "libexcept/version.h"
24
25
26namespace libexcept
27{
28
29
30
39char const * get_version_string()
40{
41 return LIBEXCEPT_VERSION_STRING;
42}
43
55
67
79
80
81} // namespace libexcept
82// vim: ts=4 sw=4 et
constexpr int const LIBEXCEPT_VERSION_MINOR
Definition version.h:30
int get_patch_version()
Return the patch version number.
Definition version.cpp:75
int get_major_version()
Return the major version number.
Definition version.cpp:51
int get_minor_version()
Return the minor version number.
Definition version.cpp:63
constexpr int const LIBEXCEPT_VERSION_PATCH
Definition version.h:31
constexpr int const LIBEXCEPT_VERSION_MAJOR
Definition version.h:29
char const * get_version_string()
Return a string to the version of the library when it was compiled.
Definition version.cpp:39

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.