
9 Jul
2006
9 Jul
'06
10:58 p.m.
Felipe Magno de Almeida wrote:
What I'm trying to say, but seems to be failing miserably, is that failed<T> deriving from T and exception_info is too an implementation detail.
No, it's not. It's a key promise of the library that both T& and exception_info& can be caught, i.e. that the object returned by failed<>() derives from both. It's part of the interface. Sebastian Redl