
________________________________ From: Mostafa <mostafa_working_away@yahoo.com> To: boost@lists.boost.org Sent: Wednesday, August 31, 2011 7:02 AM Subject: Re: [boost] Name and Namespace for Potential Boost Extended Floating-Point
For namespaces, we have:
1. boost::mp::mp_real 2. boost::multiprecision::mp_real 3. boost::multiple_precision::mp_real Our current favorite namespace is number 2: boost::multiprecision.
<snip> If you're already in namespace mp, multiprecision, etc ..., then why prefix entities in that namespace with "mp_"? Mostafa -------------------------------------------------------------------------- That's a good question. I personally feel that names such as "real", "complex" and "integer", although intuitive and eloquent, can easily lead to non-uniqueness when *using* namespaces. One example that immediately comes to mind is std::complex<...>. Therefore, I think that the prefix "mp_" adds just enough to avoid a variety of unwanted pitfalls. Sincerely, Chris.