Re: Not exception-safe default move constructors (demonstrated on std::pair)

2013-02-21 Thread Daniel Krügler
2013/2/21 Dmitry Marakasov : > Hi! > > I'm not really sure which (g++ or libstdc++) problem this really is, so > posting into both lists. It doesn't look like a problem of libstdc++ to me (see below why). > The problem is described here: > http://cpp-next.com/archive/2009/10/exceptionally-moving/

Not exception-safe default move constructors (demonstrated on std::pair)

2013-02-21 Thread Dmitry Marakasov
Hi! I'm not really sure which (g++ or libstdc++) problem this really is, so posting into both lists. The problem is described here: http://cpp-next.com/archive/2009/10/exceptionally-moving/ - You have two classes: A, which has a proper move constructor which doesn't throw B, which which only