cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
cpp-toolbox.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5#include "cpp-toolbox/cpp-toolbox_export.hpp"
6
54class CPP_TOOLBOX_EXPORT exported_class
55{
56public:
61
65 auto name() const -> char const*;
66
67private:
68 CPP_TOOLBOX_NEW_SUPPRESS_C4251
69 std::string m_name;
70};
Reports the name of the library.
Definition cpp-toolbox.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.