// bindgen-flags: -- --std=c++14 namespace JS { namespace detail { /// Notice how this doesn't use T. template using MaybeWrapped = int; } template class Rooted { detail::MaybeWrapped ptr; }; } /// But the replacement type does use T! /// ///
template using replaces_MaybeWrapped = T;