nameof_module/example/example_module.cpp

12 lines
164 B
C++
Raw Permalink Normal View History

2024-10-19 23:02:24 +00:00
import nameof;
#include <nameof_macro.hpp>
struct Test {};
auto main() -> int {
auto _ = nameof::nameof_type<Test>();
{
auto _ = NAMEOF_TYPE(Test);
}
}