
Hi , Can you please advise , why boost has "detail" namespace? Is a kind of standard as most of the libraries also have a detail namespace for eg: boost::asio::detail, boost::archive::detail, boost::format::detail and so on... Thanks, Vikas

on Thu Jul 19 2007, "Chauhan, Vikas"
Hi ,
Can you please advise , why boost has "detail" namespace? Is a kind of standard as most of the libraries also have a detail namespace for eg: boost::asio::detail, boost::archive::detail, boost::format::detail and so on...
It's used for implementation details, to keep them separate from the intended public interface. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com

In my mind, it is probably a widely used technic, but not standard, to hide unnecessary internal details of a lib to the users, to achieve a better encapsulation. Am I right? ------------------ Max 2007-07-20 ------------------------------------------------------------- 发件人:Chauhan, Vikas 发送日期:2007-07-19 23:20:47 收件人:boost-users@lists.boost.org 抄送: 主题:[Boost-users] "detail" namespace Hi , Can you please advise , why boost has "detail" namespace? Is a kind of standard as most of the libraries also have a detail namespace for eg: boost::asio::detail, boost::archive::detail, boost::format::detail and so on... Thanks, Vikas _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Chauhan, Vikas
-
David Abrahams
-
LoadCom