Hello Antoine,

I don't think we have a policy for that yet thus it's all up to personal 
preference. My personal preference is normally to call this namespace 
`arrow::internal::impl`. Alternatively one could also make it namespaced in the 
class `arrow::internal::ThreadPool::Impl` but that is probably only a good 
naming scheme for PIMPLs.

Uwe

On Tue, May 1, 2018, at 12:13 PM, Antoine Pitrou wrote:
> 
> Hello,
> 
> What's our policy for namespaces in C++?
> 
> For example, in GitHub PR 1953, I define an API in the "arrow::internal"
> namespace as it's meant for internal use by Arrow, and then I have a
> helper class in the "arrow::internal::detail" namespace as it's really
> an implementation detail of the aforementioned internal API (it's used
> for template instantiation, so it can't go in the .cpp file, sadly).
> Does that sound like the right way to go?
> 
> Regards
> 
> Antoine.

Reply via email to