2010-09-16 Paolo Carlini <paolo.carlini@oracle.com>
+ * include/bits/stl_raw_storage_iter.h (raw_storage_iterator<>::
+ operator=(const _Tp&)): Use std::__addressof.
+
+2010-09-16 Paolo Carlini <paolo.carlini@oracle.com>
+
* include/std/system_error (system_error::system_error(error_code),
system_error(error_code, const string&), system_error(int, const
error_category&), system_error(int, const error_category&,
// -*- C++ -*-
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
raw_storage_iterator&
operator=(const _Tp& __element)
{
- std::_Construct(&*_M_iter, __element);
+ std::_Construct(std::__addressof(*_M_iter), __element);
return *this;
}