Re: [Boost-bugs] [Boost C++ Libraries] #8651: Uneeded usage of namespace causes problems for the compiler

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8651: Uneeded usage of namespace causes problems for the compiler
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-05 11:01:32


#8651: Uneeded usage of namespace causes problems for the compiler
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: ebf
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: variant
   Version: Boost 1.53.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by James Michael DuPont <jamesmikedupont@…>):

 Formatted code
 {{{
 namespace boost {

     namespace detail { namespace variant {
         struct variant_hasher: public //boost::
         static_visitor<std::size_t> {
             template <class T>
             std::size_t operator()(T const& val) const {
               //using namespace boost;
                 hash<T> hasher;
                 return hasher(val);
             }
         };
     }}
 }

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8651#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC