"Andrei Alexandrescu" <[EMAIL PROTECTED]> writes:

> Ah, one more point that was discussed... there was much around operator->
> and operator* which don't make sense for certain resources. With Loki's
> SmartPtr, you can disable these two functions. Granted, the error message
> would be different, such as "get_reference not found" as opposed to
> "operator* not found". 

A little judiciously-applied SFINAE can fix that, though.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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

Reply via email to