16 #ifndef INCLUDE_NN_NLIB_UNICODE_CONVERT_H_ 17 #define INCLUDE_NN_NLIB_UNICODE_CONVERT_H_ 33 is_internal_alloc_ =
false;
42 bool is_internal_alloc_;
51 is_internal_alloc_ =
false;
60 bool is_internal_alloc_;
67 #endif // INCLUDE_NN_NLIB_UNICODE_CONVERT_H_ #define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
Prohibits use of the copy constructor and assignment operator for the class specified by TypeName...
#define NLIB_SAFE_BOOL(class_name, exp)
Defines a safe operator bool function in the class. Uses the C++11 explicit bool if it is available f...
Class to use to pass a UTF-8, UTF-16, or UTF-32 string as UTF-8.
Class used to pass a UTF-8, UTF-16, or UTF-32 string as a wide character (UTF-16/UTF-32) string...
const char * c_str() noexcept
Explicitly returns a C string.
ToWideObj(const wchar_t *wstr) noexcept
Sets a wide character string.
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
ToUtf8Obj(const nlib_utf8_t *str) noexcept
Sets the UTF-8 string.
const wchar_t * c_str() noexcept
Explicitly returns a wide string.
A file that contains the configuration information for each development environment.
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.