
6 Nov
2009
6 Nov
'09
4:03 a.m.
AMDG Emil Dotchevski wrote:
Q: Who would want to know that boost::exception_ptr's destructor is not virtual?
A: Only someone who wants to build a polymorphic type hierarchy with boost::exception_ptr as a base, calling delete through a boost::exception_ptr base pointer.
So, exception_ptr's destructor should be virtual to keep *that* guy out of trouble?
Emil, can you please silence the compiler somehow? We seem to waste time arguing about it on a regular basis. I've attached a patch that uses #pragma GCC system_header In Christ, Steven Watanabe