![]() |
aGrUM
0.14.2
|
Unicode helper functions. More...
#include <iostream>
#include <locale>
#include <sstream>
#include <string>
#include <agrum/core/cast_unicode.h>
Go to the source code of this file.
Functions | |
INLINE std::wstring | widen (const std::string &str) |
Cast a std::string into a std::wstring. More... | |
INLINE std::string | narrow (const std::wstring &str) |
Cast a std::wstring into a std::string. More... | |
Unicode helper functions.
Definition in file cast_unicode_inl.h.
INLINE std::string narrow | ( | const std::wstring & | str | ) |
Cast a std::wstring into a std::string.
str | The std::wstring to cast. |
Definition at line 50 of file cast_unicode_inl.h.
Referenced by gum::ErrorsContainer::Error(), gum::ErrorsContainer::Exception(), and gum::ErrorsContainer::Warning().
INLINE std::wstring widen | ( | const std::string & | str | ) |
Cast a std::string into a std::wstring.
str | The std::string to cast. |
Definition at line 38 of file cast_unicode_inl.h.
Referenced by gum::prm::o3prm::O3prmReader< double >::errFilename().