/usr/include/boost/container/string.hpp:1640:16: error: no matching function for call to 'iterator_advance' boost::container::iterator_advance(mid, elems_after + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/container/string.hpp:1327:13: note: in instantiation of function template specialization 'boost::container::basic_string, boost::container::new_allocator >::insert >' requested here { this->insert(this->end(), first, last); return *this; } ^ /usr/include/boost/container/string.hpp:1439:16: note: in instantiation of function template specialization 'boost::container::basic_string, boost::container::new_allocator >::append >' requested here this->append(first, last); ^ main2.cpp:10:7: note: in instantiation of function template specialization 'boost::container::basic_string, boost::container::new_allocator >::assign >' requested here s.assign(Iterator{s.begin()},Iterator{s.end()}); ^ /usr/include/boost/intrusive/detail/iterator.hpp:89:4: note: candidate template ignored: substitution failure [with InputIt = boost::archive::iterators::binary_from_base64, Distance = unsigned long]: no type named 'type' in 'boost::intrusive::iterator_enable_if_tag, std::__1::input_iterator_tag, void>' iterator_advance(InputIt& it, Distance n) ^ /usr/include/boost/intrusive/detail/iterator.hpp:97:4: note: candidate template ignored: substitution failure [with InputIt = boost::archive::iterators::binary_from_base64, Distance = unsigned long]: no type named 'type' in 'boost::intrusive::iterator_enable_if_tag, std::__1::forward_iterator_tag, void>' iterator_advance(InputIt& it, Distance n) ^ /usr/include/boost/intrusive/detail/iterator.hpp:105:4: note: candidate template ignored: substitution failure [with InputIt = boost::archive::iterators::binary_from_base64, Distance = unsigned long]: no type named 'type' in 'boost::intrusive::iterator_enable_if_tag, std::__1::bidirectional_iterator_tag, void>' iterator_advance(InputIt& it, Distance n) ^ /usr/include/boost/intrusive/detail/iterator.hpp:115:4: note: candidate template ignored: substitution failure [with InputIt = boost::archive::iterators::binary_from_base64, Distance = unsigned long]: no type named 'type' in 'boost::intrusive::iterator_enable_if_tag, std::__1::random_access_iterator_tag, void>' iterator_advance(InputIt& it, Distance n) ^ 1 error generated.