Xped
Loading...
Searching...
No Matches
Param.hpp
Go to the documentation of this file.
1#ifndef XPED_PARAM_HPP_
2#define XPED_PARAM_HPP_
3
4#include <any>
5
6namespace Xped {
7
8struct Param
9{
10 std::any value;
11 template <typename Scalar>
12 Scalar get() const
13 {
14 return std::any_cast<Scalar>(value);
15 }
16};
17
18} // namespace Xped
19#endif
Definition: bench.cpp:62
Definition: Param.hpp:9
Scalar get() const
Definition: Param.hpp:12
std::any value
Definition: Param.hpp:10