logs.hpp: refactoring (logs::message)

Make .error/.warning/... callable objects which can be pointed to.
Make .always() more hard to access.
Memory layout optimizations.
This commit is contained in:
Nekotekina 2021-05-19 14:30:39 +03:00
parent 1d0f6eebdc
commit 04cac6cd33
9 changed files with 95 additions and 69 deletions

View file

@ -73,6 +73,10 @@ namespace std
}
#endif
#if defined(__INTELLISENSE__)
#define consteval constexpr
#endif
using schar = signed char;
using uchar = unsigned char;
using ushort = unsigned short;