1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00
This commit is contained in:
Lars Melchior 2020-04-11 12:31:08 +02:00
commit c94580f25c
15 changed files with 711 additions and 0 deletions

17
include/greeter.h Normal file
View file

@ -0,0 +1,17 @@
#pragma once
#include <string>
namespace greeter {
enum class LanguageCode { EN, DE, ES, FR };
class Greeter {
std::string name;
public:
Greeter(std::string name = "World");
std::string greet(LanguageCode lang = LanguageCode::EN) const;
};
} // namespace greeter