demangle and mangleof

Tom S h3r3tic at remove.mat.uni.torun.pl
Fri Jul 7 09:11:18 PDT 2006


Don Clugston wrote:
> It's done.
> I've also added prettytypeof!(T) which converts any type into a string.
> 
> auto x = 5.0;
> static assert( prettytypeof!( x ) == "double");

Cool :)


> These functions works with just about anything I've thrown at them. Try 
> to break it!
> Enjoy!

Sure thing !

http://158.75.59.9/~h3/code/nameofBreak.rar


-- 
Tomasz Stachowiak  /+ a.k.a. h3r3tic +/



More information about the Digitalmars-d-learn mailing list