LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
VariantVisitor< RESULT_TYPE, LAMBDA > Class Template Reference

Public Types

using result_type = RESULT_TYPE
 

Public Member Functions

template<class T>
result_type operator() (T &&arg)
 
 VariantVisitor (LAMBDA lambda)
 

Private Attributes

LAMBDA lambda_
 

Detailed Description

template<class RESULT_TYPE, class LAMBDA>
class VariantVisitor< RESULT_TYPE, LAMBDA >

Definition at line 24 of file vtk_writer.cc.

Member Typedef Documentation

◆ result_type

template<class RESULT_TYPE, class LAMBDA>
using VariantVisitor< RESULT_TYPE, LAMBDA >::result_type = RESULT_TYPE

Definition at line 26 of file vtk_writer.cc.

Constructor & Destructor Documentation

◆ VariantVisitor()

template<class RESULT_TYPE, class LAMBDA>
VariantVisitor< RESULT_TYPE, LAMBDA >::VariantVisitor ( LAMBDA lambda)
inlineexplicit

Definition at line 33 of file vtk_writer.cc.

References lambda_.

Member Function Documentation

◆ operator()()

template<class RESULT_TYPE, class LAMBDA>
template<class T>
result_type VariantVisitor< RESULT_TYPE, LAMBDA >::operator() ( T && arg)
inline

Definition at line 29 of file vtk_writer.cc.

References lambda_.

Member Data Documentation

◆ lambda_

template<class RESULT_TYPE, class LAMBDA>
LAMBDA VariantVisitor< RESULT_TYPE, LAMBDA >::lambda_
private

Definition at line 36 of file vtk_writer.cc.

Referenced by operator()(), and VariantVisitor().


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