default_converter< S, R > Struct Template Reference#
|
Reference API
|
gko::default_converter< S, R > Struct Template Reference
#include <ginkgo/core/base/math.hpp>
Public Member Functions | |
| R | operator() (S val) |
Detailed Description
template<typename S, typename R>
struct gko::default_converter< S, R >
struct gko::default_converter< S, R >
Used to convert objects of type S to objects of type R using static_cast.
- Template Parameters
-
S source type R result type
Member Function Documentation
◆ operator()()
template<typename S , typename R >
|
inline |
Converts the object to result type.
- Parameters
-
val the object to convert
- Returns
- the converted object
The documentation for this struct was generated from the following file:
- ginkgo/core/base/math.hpp
Generated by