Eric Seidel wrote:
Could get nasty when interacting with other templates though. I don't think we want a NeverNullOwnPtr, or maybe we do?

Does this seem useful to anyone else? Oh c++ experts, does this even seem possible, seem like it would perform well, not bloat the code size, etc?

NeverNull< OwnPtr<Foo> > should work as long as OwnPtr<T> has pointer-like semantics.

I like to just use references for this, but that only works for simple pointers.

Joe
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to