[system][test] system_error

Folks, We currently have two classes named "system_error": boost::system_error in Boost.Test and, boost::system::system_error in Boost.System. IMO the first of these probably shouldn't be there: either it should be moved to a sub-namespace, or else should be using Boost.System. Thoughts? Cheers, John Maddock. PS, I'm still seeing regex failures as a result of Boost.Test throwing system_error's.

"John Maddock" <john@johnmaddock.co.uk> wrote in message news:00d101c82cee$4800a6e0$8dc86b51@fuji...
Folks,
We currently have two classes named "system_error":
boost::system_error in Boost.Test and, boost::system::system_error in Boost.System.
IMO the first of these probably shouldn't be there: either it should be moved to a sub-namespace, or else should be using Boost.System.
The first one is part of the Execution monitor component of Boost.Test. The Execution Monitor resides in boost namespace directly. I guess I should be using the one in System library, but I don;t think I can afford additional linking requirement.
Thoughts?
Cheers, John Maddock.
PS, I'm still seeing regex failures as a result of Boost.Test throwing system_error's.
Can you debug it? Can you produce small example generating an exception? Gennadiy
participants (2)
-
Gennadiy Rozental
-
John Maddock