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< NumT > | func = {} |
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) | |
|
inline |
|
inlineoverridevirtual |
Implements GettextPluralForm.
References BinaryOperation< F >::func, BinaryOperation< F >::lhs, and BinaryOperation< F >::rhs.
|
staticconstexprprivate |
Referenced by BinaryOperation< F >::operator()().
|
private |
Referenced by BinaryOperation< F >::operator()().
|
private |
Referenced by BinaryOperation< F >::operator()().