CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::CASM_TMP::ConstantFunctor< OutputType > Struct Template Reference

#include <CASM_TMP.hh>

Detailed Description

template<typename OutputType>
struct CASM::CASM_TMP::ConstantFunctor< OutputType >

N-nary function that behaves as a constant (i.e. transform(arg1,arg2,...) == constant is true)

Definition at line 92 of file CASM_TMP.hh.

Public Member Functions

 ConstantFunctor (OutputType const &_const)
 
template<typename... Args>
OutputType operator() (Args const &... args) const
 

Private Attributes

OutputType m_const
 

Constructor & Destructor Documentation

◆ ConstantFunctor()

template<typename OutputType >
CASM::CASM_TMP::ConstantFunctor< OutputType >::ConstantFunctor ( OutputType const &  _const)
inline

Definition at line 93 of file CASM_TMP.hh.

Member Function Documentation

◆ operator()()

template<typename OutputType >
template<typename... Args>
OutputType CASM::CASM_TMP::ConstantFunctor< OutputType >::operator() ( Args const &...  args) const
inline

Definition at line 96 of file CASM_TMP.hh.

Member Data Documentation

◆ m_const

template<typename OutputType >
OutputType CASM::CASM_TMP::ConstantFunctor< OutputType >::m_const
private

Definition at line 101 of file CASM_TMP.hh.


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