diff -Naur .build/boost_1_54_0/boost/container/string.hpp .build/boost_1_54_0_patched/boost/container/string.hpp --- .build/boost_1_54_0/boost/container/string.hpp 2014-02-10 12:24:19.542311711 +0100 +++ .build/boost_1_54_0_patched/boost/container/string.hpp 2014-02-10 12:05:36.000000000 +0100 @@ -1244,6 +1244,19 @@ basic_string& assign(const CharT* s) { return this->assign(s, s + Traits::length(s)); } + //! Effects: Equivalent to assign(basic_string(first, last)). + //! + //! Returns: *this + basic_string& assign(const CharT* first, const CharT* last) + { + size_type n = std::distance(first, last); + this->reserve(n); + CharT* ptr = container_detail::to_raw_pointer(this->priv_addr()); + Traits::copy(ptr, first, n); + this->priv_construct_null(ptr + n); + return *this; + } + //! Effects: Equivalent to assign(basic_string(n, c)). //! //! Returns: *this