1 #ifndef STLPLUS_STRING_CSTRING 2 #define STLPLUS_STRING_CSTRING 3 //////////////////////////////////////////////////////////////////////////////// 4 5 // Author: Andy Rushton 6 // Copyright: (c) Southampton University 1999-2004 7 // (c) Andy Rushton 2004 onwards 8 // License: BSD License, see ../docs/license.html 9 10 // Functions for converting C strings to string 11 12 // This is necessary for completeness 13 14 //////////////////////////////////////////////////////////////////////////////// 15 #include "strings_fixes.hpp" 16 #include <string> 17 #include <stdexcept> 18 19 namespace stlplus 20 { 21 22 std::string cstring_to_string(const char* value); 23 24 } 25 26 #endif 27