[Boost-bugs] [Boost C++ Libraries] #11778: Cannot test C++11 "enum class" types

Subject: [Boost-bugs] [Boost C++ Libraries] #11778: Cannot test C++11 "enum class" types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-01 01:06:10


#11778: Cannot test C++11 "enum class" types
----------------------------------------+---------------------
 Reporter: Adam Nielsen <a.nielsen@…> | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
----------------------------------------+---------------------
 If you use the test tools with C++11 variables of type "enum class",
 compilation fails with many iostream errors, mostly variations on this
 one:

 {{{
 /usr/include/boost/test/tools/detail/print_helper.hpp:50:14: note:
 cannot convert ‘t’ (type ‘const Example’) to type ‘const std::error_code&’
          ostr << t;
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11778>
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:19 UTC