2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
* src/future.cc (future_error_category::message): Handle no_state.
From-SVN: r170024
+2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * src/future.cc (future_error_category::message): Handle no_state.
+
2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
// future -*- C++ -*-
-// Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
case std::future_errc::promise_already_satisfied:
__msg = "Promise already satisfied";
break;
+ case std::future_errc::no_state:
+ __msg = "No associated state";
+ break;
default:
__msg = "Unknown error";
break;