raubarno@lemmy.ml to Programmer Humor@lemmy.ml · edit-211 months agoC Compilers be likelemmy.mlimagemessage-square26fedilinkarrow-up1382arrow-down131file-text
arrow-up1351arrow-down1imageC Compilers be likelemmy.mlraubarno@lemmy.ml to Programmer Humor@lemmy.ml · edit-211 months agomessage-square26fedilinkfile-text
minus-squareale@lemmy.worldlinkfedilinkarrow-up4·11 months agoGood 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.