Opened 9 years ago
Closed 9 years ago
#8651 closed Bugs (fixed)
Uneeded usage of namespace causes problems for the compiler
Reported by: | anonymous | Owned by: | ebf |
---|---|---|---|
Milestone: | To Be Determined | Component: | variant |
Version: | Boost 1.53.0 | Severity: | Cosmetic |
Keywords: | Cc: | antoshkka@… |
Description
using debian sid Package: libboost1.53-dev Source: boost1.53 Version: 1.53.0-5
The gcc compiler crashes using some options when compiling (dump translation unit)
Here is a small change to work around the crash :
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); } }; }}
}