Supply <string> to fix C++03 compile error on logic_error("...")

This change makes the library usable (again) on C++03 standard library
implementations where <stdexcept> doesn't imply inclusion of <string>,
e.g. STLport.
This commit is contained in:
Kazutoshi SATODA committed 2014-08-28 02:45:14 +09:00
1 parent fea4882f24
commit d4a4cdca1d
1 file changed
+3
@@ -13,6 +13,9 @@
#define BOOST_BAD_OPTIONAL_ACCESS_22MAY2014_HPP
#include <stdexcept>
#if __cplusplus < 201103L
#include <string> // to make converting-ctor std::string(char const*) visible
#endif
namespace boost {