CyberEngineMkIII
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typename.hpp
Go to the documentation of this file.
1 #pragma once
3 namespace CYB {
4  namespace API {
9  template <typename AType> class Typename {
10  public:
15  static constexpr const String::Static Name(void);
16  };
17  };
18 };
19 
21 #define ENABLE_TYPENAME(AType, ANamespace) namespace CYB { namespace API { template<> class Typename<ANamespace::AType> { public: constexpr const String::Static Name(void) { return #AType; }};}}
22 //! @endcond
A string pointing to unchanging data in the stack above it or the data segment. Must have UTF-8 encod...
Definition: StaticString.hpp:7
Gets the typename of a type.
Definition: Typename.hpp:9
static constexpr const String::Static Name(void)
Gets the typename of type AType.