aligator  0.6.1
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "aligator/config.hpp"
4
5#include <string>
6#include <sstream>
7
8namespace aligator {
9
13inline std::string printVersion(const std::string &delimiter = ".") {
14 std::ostringstream oss;
15 oss << ALIGATOR_MAJOR_VERSION << delimiter << ALIGATOR_MINOR_VERSION
16 << delimiter << ALIGATOR_PATCH_VERSION;
17 return oss.str();
18}
19} // namespace aligator
Main package namespace.
std::string printVersion(const std::string &delimiter=".")
Pretty-print the package version number.
Definition version.hpp:13