#include <alpaqa/params/params.hpp>
#include <alpaqa/config/config.hpp>
#include <alpaqa/params/structs.hpp>
#include <alpaqa/util/demangled-typename.hpp>
#include <alpaqa/util/string-util.hpp>
Go to the source code of this file.
Classes | |
struct | attribute_accessor< T, ParamString > |
Function wrapper to set attributes of a struct, type-erasing the type of the attribute. More... | |
Namespaces | |
namespace | alpaqa |
namespace | alpaqa::params |
Functions | |
template<class T > | |
void | assert_key_empty (ParamString s) |
Throw a meaningful error when s.key is not empty, to indicate that the given type T is not of struct type and cannot be indexed into. | |
template<class T > | |
void | unsupported_type (T &, ParamString s) |
Throw a meaningful error to indicate that parameters of type T are not supported or implemented. | |
template<class T > requires requires { attribute_table<T, ParamString>::table; } | |
void | set_param (T &t, ParamString s) |
Use s to index into the struct type T and overwrite the attribute given by s.key . | |