ale, 8 months ago 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.
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.