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