#include <array>
#include <cstdlib>
#include <string_view>
#include <fmt/core.h>
namespace github::stepanzorin {
class SoftwareEngineer final {
public:
void say_hi() const noexcept {
fmt::print("Thanks for dropping by, hope you find some of my work interesting.");
}
private:
const std::string_view name{"Stepan Zorin"};
const std::uint8_t age{24};
const bool is_male{true};
const std::string_view country{"Russia"};
static const std::size_t count_of_language_spoken{2};
const std::array<std::string_view, count_of_language_spoken> language_spoken{
"Russian (native speaker)",
"English (United States)"};
};
} // namespace github::stepanzorin
using namespace github::stepanzorin;
int main() {
constexpr SoftwareEngineer me;
me.say_hi();
return EXIT_SUCCESS;
}
🖥️
Working from home
C++ Game Developer. After working time, I write my own game engine based on Vulkan API and modern C++23
- Russia, Moscow
- https://career.habr.com/stepanzorin
Popular repositories Loading
-
-
conan-center-index
conan-center-index PublicForked from conan-io/conan-center-index
Recipes for the ConanCenter repository
Python
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.