kicad-developers team mailing list archive
Mailing list archive
Re: Coding style question
When I worked at Frame a colleague advised me not to create Framegol. (That was back in the day when Pascal and C were considered Algol family languages.) I’ve always taken that to heart and so prefer std::shared_ptr<TYPE>, ugly as it is.
> On 7 Aug 2019, at 23:18, Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx> wrote:
> Hi Fellow Devs,
> I'm fixing some memory management issues in the P&S by introducing smart
> pointers here and there. Do we have any coding policy on typedefing
> Should I:
> - always use std::shared_ptr<TYPE> explicitly?
> - or am I allowed to typedef std::shared_ptr<TYPE> TYPE_SP (or something
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp