Daniel Frey wrote:
> I wasn't thinking of the user to drop things into boost, this is
> obvbiously not supported. I was thinking of this:
>
> namespace foo {
>   namespace boost { // <-- Is this "allowed" by boost?
>     template< typename T >
>     void checked_delete( T* );
>   }
>
>   class A {};
> }
>
> foo::A* bar = new foo::A();
> ::boost::checked_deleter< A >()( bar );

Your example works for me. Qualified identifiers such as
boost::checked_delete disable ADL, and foo::boost::checked_delete isn't
found.

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

Reply via email to