12 lines
164 B
C++
12 lines
164 B
C++
|
import nameof;
|
||
|
#include <nameof_macro.hpp>
|
||
|
|
||
|
struct Test {};
|
||
|
|
||
|
auto main() -> int {
|
||
|
auto _ = nameof::nameof_type<Test>();
|
||
|
{
|
||
|
auto _ = NAMEOF_TYPE(Test);
|
||
|
}
|
||
|
}
|