Boost logo

Boost :

Subject: Re: [boost] Review Request: impl_ptr (pimpl)
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2017-08-21 06:29:25

2017-08-20 0:46 GMT+02:00 Vladimir Batov via Boost <boost_at_[hidden]>:

> 2) As I think I mentioned before impl_ptr is not part of any namespace by
> design... because the way proxy and implementation are connected, the
> specialization of impl_ptr<>::implementation. As I also mentioned it is IMO
> only a "problem" for "purists" but not for "practitioners" as from outside
> it is all kosher and accessed via boost::impl_ptr.

Could you summarize why using the global namespace is necessary? Is it only
to be able to write

  template<> class _boost_impl_ptr_

instead of

  namespace boost { template<> class impl_ptr }

or something more?

Maybe it is described in the docs somewhere, but I couldn't find it.


Boost list run by bdawes at, gregod at, cpdaniel at, john at