aligator
0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
macros.hpp
Go to the documentation of this file.
1
3
#pragma once
4
5
#if __cplusplus >= 201703L
6
#define ALIGATOR_WITH_CPP_17
7
#endif
8
9
#if __cplusplus >= 201402L
10
#define ALIGATOR_WITH_CPP_14
11
#endif
12
13
#define ALIGATOR_INLINE inline __attribute__((always_inline))
14
15
#ifdef ALIGATOR_WITH_CPP_17
16
#define ALIGATOR_MAYBE_UNUSED [[maybe_unused]]
17
#elif defined(_MSC_VER) && !defined(__clang__)
18
#define ALIGATOR_MAYBE_UNUSED
19
#else
20
#define ALIGATOR_MAYBE_UNUSED __attribute__((__unused__))
21
#endif
include
aligator
macros.hpp
Generated by
1.11.0