Chris@16: // Boost string_algo library string_traits.hpp header file ---------------------------// Chris@16: Chris@16: // Copyright Pavol Droba 2002-2003. Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. Chris@16: // (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // See http://www.boost.org/ for updates, documentation, and revision history. Chris@16: Chris@16: #ifndef BOOST_STRING_STD_STRING_TRAITS_HPP Chris@16: #define BOOST_STRING_STD_STRING_TRAITS_HPP Chris@16: Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost { Chris@16: namespace algorithm { Chris@16: Chris@16: // std::basic_string<> traits -----------------------------------------------// Chris@16: Chris@16: Chris@16: // native replace trait Chris@16: template Chris@16: class has_native_replace< std::basic_string > Chris@16: { Chris@16: public: Chris@16: #if BOOST_WORKAROUND( __IBMCPP__, <= 600 ) Chris@16: enum { value = true } ; Chris@16: #else Chris@16: BOOST_STATIC_CONSTANT(bool, value=true); Chris@16: #endif // BOOST_WORKAROUND( __IBMCPP__, <= 600 ) Chris@16: Chris@16: typedef mpl::bool_::value> type; Chris@16: }; Chris@16: Chris@16: Chris@16: Chris@16: } // namespace algorithm Chris@16: } // namespace boost Chris@16: Chris@16: Chris@16: #endif // BOOST_STRING_LIST_TRAITS_HPP