// Copyright Daniel James 2005. Use, modification, and distribution are // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include void func() { boost::unordered_set x; x.insert(10); boost::unordered_set::iterator it = x.begin(); *x = 25; }