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 
5 #ifndef BOOST_TYPEOF_STD_string_hpp_INCLUDED
6 #define BOOST_TYPEOF_STD_string_hpp_INCLUDED
7 
8 #include <string>
9 #include <boost/typeof/typeof.hpp>
10 #include <boost/typeof/std/memory.hpp>
11 
12 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
13 
14 BOOST_TYPEOF_REGISTER_TEMPLATE(std::char_traits, 1)
15 BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_string, 1)
16 BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_string, 2)
17 BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_string, 3)
18 
19 #ifndef __BORLANDC__
20 //Borland chokes on this "double definition" of string
21 BOOST_TYPEOF_REGISTER_TYPE(std::string)
22 #endif
23 
24 #endif//BOOST_TYPEOF_STD_string_hpp_INCLUDED
25