1 /////////////////////////////////////////////////////////////////////////////
3 // (C) Copyright Ion Gaztanaga 2014-2015
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 // See http://www.boost.org/libs/container for documentation.
11 /////////////////////////////////////////////////////////////////////////////
12 #ifndef BOOST_CONTAINER_DETAIL_MINIMAL_CHAR_TRAITS_HEADER_HPP
13 #define BOOST_CONTAINER_DETAIL_MINIMAL_CHAR_TRAITS_HEADER_HPP
15 #ifndef BOOST_CONFIG_HPP
16 # include <boost/config.hpp>
19 #if defined(BOOST_HAS_PRAGMA_ONCE)
23 #//Try to avoid including <string>, as it's quite big
24 #if defined(_MSC_VER) && defined(BOOST_DINKUMWARE_STDLIB)
25 #include <iosfwd> //Dinkum libraries for MSVC define std::char_traits there
26 #elif defined(BOOST_GNU_STDLIB)
27 #include <bits/char_traits.h>
29 #include <string> //Fallback
32 #endif //BOOST_CONTAINER_DETAIL_MINIMAL_CHAR_TRAITS_HEADER_HPP