From f60f0bde95061951c3af5d8dc2155570d4e7c316 Mon Sep 17 00:00:00 2001 From: Giel van Schijndel Date: Fri, 30 Oct 2015 14:23:37 +0100 Subject: [PATCH] Make sure std::string constructor is available .. because only needs to have a forward declaration of std::string. But that's not enough to invoke constructors of std::exception (and derivatives) if we don't have a reference to an std::string handy. --- include/boost/container/throw_exception.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/container/throw_exception.hpp b/include/boost/container/throw_exception.hpp index 2c893e9..118cc39 100644 --- a/include/boost/container/throw_exception.hpp +++ b/include/boost/container/throw_exception.hpp @@ -24,6 +24,7 @@ #ifndef BOOST_NO_EXCEPTIONS #include //for std exception types + #include //for implicit std::string conversion #include //for std::bad_alloc #else #include