Re: [eigen] API change proposal |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
very true. it can happen and hence it WILL happen that pointers go unchecked.Tim Hutt wrote:
> 2009/7/24 Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>:
>
>> You can pass null, right? The function will simply return. What else
>> could happen?
>
> Obviously you never used gnome back in the day! Segfaults left right
> and centre. Just because it is a good idea to check for NULL doesn't
> mean every function does it in practice.
>
>
>
its ridiculous to use pointers if you can - without any differences /
limitations - also use non-const references.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |