syd to Programmer Humor@programming.dev · 6 days agoGotta learn itimagemessage-square37fedilinkarrow-up1502arrow-down17
arrow-up1495arrow-down1imageGotta learn itsyd to Programmer Humor@programming.dev · 6 days agomessage-square37fedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up15·6 days 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·5 days 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