| Re: [eigen] API change proposal | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/eigen Archives
] 
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.
> 
> 
> 
very true. it can happen and hence it WILL happen that pointers go unchecked.
its ridiculous to use pointers if you can - without any differences /
limitations - also use non-const references.