This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _DBJ_META_CONVERTER_INC_ | |
#define _DBJ_META_CONVERTER_INC_ | |
/* | |
(c) 2019/202 by [email protected] | |
LICENCE -- CC BY SA 4.0 -- https://creativecommons.org/licenses/by-sa/4.0/ | |
This tool transforms any kind of char range into any required string kind. | |
By kind we mean "made of particular char type" | |
See the comprehensive testing in a separate header also here. | |
NOTE: be forewarned: in C++20 char8_t is actually crippled. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __LOGGING_HPP__ | |
#define __LOGGING_HPP__ | |
/* | |
Test this with something like: | |
g++ -std=c++11 -x c++ -pthread -DLOGGING_LEVEL_ALL -DTEST_LOGGING logging.hpp -o logging_test | |
./logging_test | |
*/ | |
#include <string> |