string.hpp 807 B

123456789101112131415161718192021222324
  1. // Copyright (C) 2005 Arkadiy Vertleyb, Peder Holt.
  2. // Use, modification and distribution is subject to the Boost Software
  3. // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
  4. #ifndef BOOST_TYPEOF_STD_string_hpp_INCLUDED
  5. #define BOOST_TYPEOF_STD_string_hpp_INCLUDED
  6. #include <string>
  7. #include <boost/typeof/typeof.hpp>
  8. #include <boost/typeof/std/memory.hpp>
  9. #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
  10. BOOST_TYPEOF_REGISTER_TEMPLATE(std::char_traits, 1)
  11. BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_string, 1)
  12. BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_string, 2)
  13. BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_string, 3)
  14. #ifndef __BORLANDC__
  15. //Borland chokes on this "double definition" of string
  16. BOOST_TYPEOF_REGISTER_TYPE(std::string)
  17. #endif
  18. #endif//BOOST_TYPEOF_STD_string_hpp_INCLUDED