SA_Logger
Sapphire's Suite's C++ Logger.
Loading...
Searching...
No Matches
Unparenthese.hpp
1// Copyright (c) 2023 Sapphire's Suite. All Rights Reserved.
2
3#pragma once
4
5#ifndef SAPPHIRE_LOGGER_UNPARENTHESES_GUARD
6#define SAPPHIRE_LOGGER_UNPARENTHESES_GUARD
7
8namespace SA
9{
11
20 #define __SA_EXTRACT(...) __SA_EXTRACT __VA_ARGS__
21 #define __SA_NOTHING__SA_EXTRACT
22 #define __SA_PASTE(_x, ...) _x ## __VA_ARGS__
23 #define __SA_EVAL_PASTE(_x, ...) __SA_PASTE(_x, __VA_ARGS__)
24 #define __SA_UNPARENT(_x) __SA_EVAL_PASTE(__SA_NOTHING, __SA_EXTRACT _x)
25
27}
28
29#endif // GUARD