Textractor/vnr/cpputil/cppstring.h
mireado 90613f5039 update to 3.5640.1
update to ITHVNR 3.5640.1
and translation
2016-01-06 00:01:17 +09:00

19 lines
397 B
C++

#ifndef CPPSTRING_H
#define CPPSTRING_H
// cppstring.h
// 10/12/2014 jichi
/#include <string>
// 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()); }
inline std::wstring cpp_wstring_of(const std::string &s)
{ return std::wstring(s.begin(), s.end()); }
#endif // CPPSTRING_H