AiLibrary
v1.3.0
A single-header C++ Library from Ailurus Studio
|
On Windows, you can use nice dirent.h implementation from Toni Ronkko (MIT license). More...
Macros | |
#define | STRINGIFY(x) #x |
Convert a variable name into text. More... | |
#define | TO_STRING(x) STRINGIFY(x) |
Convert a variable value into text. More... | |
#define | PRINT_LINE() std::cout << "Line #" << __LINE__ << std::endl |
Print the line number. More... | |
Its copy is located at include/dirent.
Group of useful macros that cannot be implemented as functions
#define PRINT_LINE | ( | ) | std::cout << "Line #" << __LINE__ << std::endl |
This macro prints the line number on which it was called
#define STRINGIFY | ( | x | ) | #x |
This macro converts a variable name into text, which is useful for debugging
#define TO_STRING | ( | x | ) | STRINGIFY(x) |
This macro converts a variable value into text, so you can access the constants defined at compile time as std::string