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

Public Member Functions

 UnaryOperation (const Ptr &op)
 
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 op
 

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

◆ UnaryOperation()

template<template< typename > typename F>
UnaryOperation< F >::UnaryOperation ( const Ptr & op)
inline

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ func

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

◆ op

template<template< typename > typename F>
Ptr UnaryOperation< F >::op
private

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