Ginkgo  Generated from pipelines/1589998975 branch based on develop. Ginkgo version 1.10.0
A numerical linear algebra library targeting many-core architectures
Public Member Functions | List of all members
gko::default_converter< S, R > Struct Template Reference

Used to convert objects of type S to objects of type R using static_cast. More...

#include <ginkgo/core/base/math.hpp>

Public Member Functions

operator() (S val)
 Converts the object to result type. More...
 

Detailed Description

template<typename S, typename R>
struct gko::default_converter< S, R >

Used to convert objects of type S to objects of type R using static_cast.

Template Parameters
Ssource type
Rresult type

Member Function Documentation

◆ operator()()

template<typename S , typename R >
R gko::default_converter< S, R >::operator() ( val)
inline

Converts the object to result type.

Parameters
valthe object to convert
Returns
the converted object

The documentation for this struct was generated from the following file: