// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq namespace detail { template struct PointerType { typedef T* Type; }; } template class UniquePtr { typedef typename detail::PointerType Pointer; };