#302167* (?/30) ⚐Flag <Artifice> If you want a mroe compliacetd way to do it (you seem to), look up initializer lists
<einride> init lists are great!
<ross128> The reason I ask is that thie Effective C++ book was going on about not using assigns when you can use initialises
<einride> ross128: and it's entirely correct. initialises are a good habit
<Artifice> For pointers, it's no difference
<ross128> initialization lists - the syntax is a bit annoying - having to repeat all my variable names but I guess ill do it.
<jey> welcome to c++, ross128
<Artifice> And any language
<jey> c++ is a bit more annoying than most languages currently in vogue imo
<Artifice> Maybe, but it's got the best titsComment: #c++
|