![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
Unicode helper functions. More...
#include <iostream>#include <locale>#include <sstream>#include <string>#include <agrum/base/core/cast_unicode_inl.h>Go to the source code of this file.
Functions | |
| 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. | |
Unicode helper functions.
Definition in file cast_unicode.h.
| std::string narrow | ( | const std::wstring & | str | ) |
Cast a std::wstring into a std::string.
| str | The std::wstring to cast. |
Definition at line 71 of file cast_unicode_inl.h.
Referenced by gum::ErrorsContainer::Error(), gum::ErrorsContainer::Exception(), and gum::ErrorsContainer::Warning().
| std::wstring widen | ( | const std::string & | str | ) |
Cast a std::string into a std::wstring.
| str | The std::string to cast. |
Definition at line 60 of file cast_unicode_inl.h.
Referenced by gum::prm::o3prm::O3prmReader< GUM_SCALAR >::errFilename().