cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
core.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
6
55{
56public:
61
65 auto name() const -> char const*;
66
67private:
69 std::string m_name;
70};
Reports the name of the library.
Definition core.hpp:55
exported_class()
Initializes the name field to the name of the project.
auto name() const -> char const *
Returns a non-owning pointer to the string stored in this class.
#define CPP_TOOLBOX_EXPORT
Definition export.hpp:8
#define CPP_TOOLBOX_NEW_SUPPRESS_C4251
Definition export.hpp:14