Opened 9 years ago
#9269 new Bugs
boost.exception unqualified enable_if/disable_if causing name clash with boost.test enable_if/disable_if
Reported by: | Owned by: | Emil Dotchevski | |
---|---|---|---|
Milestone: | To Be Determined | Component: | exception |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
boost/exception/to_string.hpp and boost/exception/info.hpp both use enable_if/disable_if unqualified. This caused ambiguous symbols as boost/test/tree/decorator.hpp defines its own versions: boost::unit_test::decorator::disable_if/enable_if.
There also is a related ticket for boost.test: https://svn.boost.org/trac/boost/ticket/8679
I would recommend adding boost:: at the beginning.
Note:
See TracTickets
for help on using tickets.