aGrUM  0.16.0
cast_unicode.h
Go to the documentation of this file.
1 
30 #ifndef CAST_UNICODE_H
31 #define CAST_UNICODE_H
32 
33 #include <iostream>
34 #include <locale>
35 #include <sstream>
36 #include <string>
37 
43 std::wstring widen(const std::string& str);
44 
50 std::string narrow(const std::wstring& str);
51 
52 #ifndef GUM_NO_INLINE
54 #endif
55 
56 #endif // CAST_UNICODE_H
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
std::wstring widen(const std::string &str)
Cast a std::string into a std::wstring.
std::string narrow(const std::wstring &str)
Cast a std::wstring into a std::string.