19 lines
397 B
C
Raw Normal View History

2015-04-02 23:31:10 +09:00
#ifndef CPPSTRING_H
#define CPPSTRING_H
// cppstring.h
// 10/12/2014 jichi
/#include <string>
2015-04-02 23:31:10 +09:00
// Initializers
template <typename charT>
inline std::basic_string<charT> cpp_basic_string_of(const std::string &s)
{ return std::basic_string<charT>(s.begin(), s.end()); }
2015-04-02 23:31:10 +09:00
inline std::wstring cpp_wstring_of(const std::string &s)
{ return std::wstring(s.begin(), s.end()); }
2015-04-02 23:31:10 +09:00
#endif // CPPSTRING_H