default_handlerļƒ

The default handler for all operations. A class type that simply wraps ztd::text::replacement_handler_t unless configured otherwise. You can change it to throw by default (NOT recommended) by using ZTD_TEXT_DEFAULT_HANDLER_THROWS.

Using this type, implicitly or explicitly, signals to ztd.text that you would like it to gently admonish you if any part of a conversion could be potentially lossy (valid data is put in, but it cannot be handled by the desired encode/decode/transcode operation).

constexpr default_handler_t ztd::text::default_handler = {}ļƒ

An instance of the default_handler_t type for ease of use.

class default_handler_t : private replacement_handler_tļƒ

The default error handler for the entire library. Can be configured to use different strategies at build time. Without configuration, it defaults to the ztd::text::replacement_handler_t.

Public Types

using error_handler = __error_handler_base_tļƒ

The underlying error handler type.