351
C Compilers be like
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
gcc has typeof, which is pretty neat.
Is it any different from the standard
decltype
?Good question. I didn't know about decltype. I guess they are slightly different in that decltype will also produce a type reference. Typeof just produces the type, even if you call on a reference.