|
Lib
QOLを高める
|
Utilities. More...
Classes | |
| class | CoInitialize |
| Auto CoInitializeEx() and CoUninitialize() class. More... | |
| struct | ComDeleter |
| Deleter: auto IUnknown::Release(). More... | |
| struct | FileDeleter |
| Deleter: auto flose(). More... | |
| struct | HandleDeleter |
| Deleter: auto CloseHandle(). More... | |
| struct | heapDeleter |
| Deleter: auto HeapDestroy(). More... | |
| class | noncopyable |
| Noncopyable class. More... | |
Typedefs | |
| using | IdString = std::array< char, 16 > |
| Fixed size char array for string ID. More... | |
| using | HandlePtr = std::unique_ptr< HANDLE, HandleDeleter > |
| unique_ptr of HANDLE with HandleDeleter. More... | |
| using | HeapPtr = std::unique_ptr< HANDLE, heapDeleter > |
| unique_ptr of HANDLE with heapDeleter. More... | |
| template<class T > | |
| using | ComPtr = std::unique_ptr< T, ComDeleter > |
| unique_ptr of IUnknown with ComDeleter. More... | |
| using | FilePtr = std::unique_ptr< FILE, FileDeleter > |
| unique_ptr of FILE with FileDeleter. More... | |
Functions | |
| template<size_t N> | |
| void | createFixedString (std::array< char, N > *out, const char *src) |
| Create yappy::util::IdString from C-style string. More... | |
| std::unique_ptr< char[]> | wc2utf8 (const wchar_t *in) |
| Wide char to UTF-8. More... | |
| std::unique_ptr< wchar_t[]> | utf82wc (const char *in) |
| UTF-8 to wide char. More... | |
Utilities.
| using yappy::util::ComPtr = typedef std::unique_ptr<T, ComDeleter> |
| using yappy::util::FilePtr = typedef std::unique_ptr<FILE, FileDeleter> |
| using yappy::util::HandlePtr = typedef std::unique_ptr<HANDLE, HandleDeleter> |
| using yappy::util::HeapPtr = typedef std::unique_ptr<HANDLE, heapDeleter> |
| using yappy::util::IdString = typedef std::array<char, 16> |
|
inline |
|
inline |
1.8.11