aligator  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
overloads.hpp
Go to the documentation of this file.
1#pragma once
2
3namespace aligator {
4
6template <typename... Ts> struct overloads : Ts... {
7 using Ts::operator()...;
8};
9template <class... Ts> overloads(Ts...) -> overloads<Ts...>;
10
11} // namespace aligator
Main package namespace.
overloads(Ts...) -> overloads< Ts... >
Utility helper struct for creating visitors from lambdas.
Definition overloads.hpp:6