Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
BinaryOperation< F > Class Template Reference
+ Inheritance diagram for BinaryOperation< F >:
+ Collaboration diagram for BinaryOperation< F >:

Public Member Functions

 BinaryOperation (const Ptr &lhs, const Ptr &rhs)
 
NumT operator() (const NumT n) const override
 
- Public Member Functions inherited from GettextPluralForm
size_t size () const
 
virtual operator bool () const
 
virtual ~GettextPluralForm ()
 

Private Attributes

Ptr lhs
 
Ptr rhs
 

Static Private Attributes

static constexpr F< NumTfunc = {}
 

Additional Inherited Members

- Public Types inherited from GettextPluralForm
using NumT = unsigned long
 
using Ptr = std::shared_ptr<GettextPluralForm>
 
- Static Public Member Functions inherited from GettextPluralForm
static GettextPluralForm::Ptr parse (const size_t nplurals, const std::wstring_view &str)
 
static GettextPluralForm::Ptr parseHeaderLine (const std::wstring_view &str)
 
- Protected Member Functions inherited from GettextPluralForm
 GettextPluralForm (size_t nplurals)
 

Constructor & Destructor Documentation

◆ BinaryOperation()

template<template< typename > typename F>
BinaryOperation< F >::BinaryOperation ( const Ptr & lhs,
const Ptr & rhs )
inline

Member Function Documentation

◆ operator()()

template<template< typename > typename F>
NumT BinaryOperation< F >::operator() ( const NumT n) const
inlineoverridevirtual

Member Data Documentation

◆ func

template<template< typename > typename F>
F<NumT> BinaryOperation< F >::func = {}
staticconstexprprivate

◆ lhs

template<template< typename > typename F>
Ptr BinaryOperation< F >::lhs
private

◆ rhs

template<template< typename > typename F>
Ptr BinaryOperation< F >::rhs
private

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