[webkit-dev] NeverNull<T>

Alexey Proskuryakov ap at webkit.org
Tue Jul 28 16:27:27 PDT 2009


28.07.2009, в 15:25, Eric Seidel написал(а):

> It just occurred to me that we have a lot of places in WebKit were  
> we ASSERT(foo) (where foo is some passed in Foo* pointer which  
> should never be NULL).


I like to use references instead of pointers that can never be null.  
This doesn't always work well with existing WebKit code though.

- WBR, Alexey Proskuryakov



More information about the webkit-dev mailing list