syd@lemy.lol to Programmer Humor@programming.dev · 8 months agoGotta learn itlemy.lolimagemessage-square35linkfedilinkarrow-up1515arrow-down17
arrow-up1508arrow-down1imageGotta learn itlemy.lolsyd@lemy.lol to Programmer Humor@programming.dev · 8 months agomessage-square35linkfedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up14·8 months agoIt’s just C++ without templates. So whatever element you want to put into std::list, it must virtually inherit std::list::value_type. And of course there will be a macro-based list monstrosity inside Boost.
minus-squareSonotsugipaa@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up2·8 months agoTypes being declarable as virtual members is something I want to never hear again
It’s just C++ without templates. So whatever element you want to put into std::list, it must virtually inherit std::list::value_type. And of course there will be a macro-based list monstrosity inside Boost.
Types being declarable as virtual members is something I want to never hear again