Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 189 Bytes

File metadata and controls

14 lines (9 loc) · 189 Bytes

pretty-name

Simple and consistent way how to get a type name in compile-time.

struct Test {
	int a;
	int b;
};

std::cout << pretty_name::pretty_name<Test>() << std::endl;