2 Nov
2012
2 Nov
'12
5 p.m.
Oswin Krause wrote:
c) The convention is: big libraries get their own namespace, small libraries don't need to.
range is not a small library
Also in this case it is convenient as one can replace std::find with boost::find instead of boost::range::find which - espcially in conjunction with the adaptors - leads to a lot of noise for a simple thing.
one can always alias it in any application. We might disagree on what convention is. But I'll state that the boost namespace is getting two crowded. We are now encouraging new library to use the boost/<library name>/.....hpp and boost::<library name>:: ... convention. This really necessary to be able to use typenames such as find, etc in different libraries. Robert Ramey