Jon Kalb wrote:

[...]

> I'm afraid that I don't see your point. How is this relevant?

It will prevent you to encounter this situation (if peak_of() is used only
with smart_ptr<>s).  peak_of() won't have to deal with it.

It would also be possible to assert the parameter of peak_of() is valid, but
only at run-time (less efficient).



Philippe




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to