class
#include <multiplierless/greeter.h>
Multiplierless A class for saying hello in multiple languages.
Contents
Constructors, destructors, conversion operators
- Multiplierless(std::string name)
- Creates a new multiplierless.
Public functions
-
auto greet(LanguageCode lang = LanguageCode::
EN) const -> std::string - Creates a localized string containing the greeting.
Function documentation
multiplierless:: Multiplierless:: Multiplierless(std::string name)
Creates a new multiplierless.
Parameters | |
---|---|
name | the name to greet |
std::string multiplierless:: Multiplierless:: greet(LanguageCode lang = LanguageCode:: EN) const
Creates a localized string containing the greeting.
Parameters | |
---|---|
lang | the language to greet in |
Returns | a string containing the greeting |