1#ifndef LIBFILEZILLA_GLUE_WX_HEADER
2#define LIBFILEZILLA_GLUE_WX_HEADER
9#include "../private/defs.hpp"
20template<
typename T,
typename std::enable_if_t<std::is_same_v<wxString,
typename std::decay_t<T>>,
int> = 0>
22 return s.ToStdWstring();
25template<
typename T,
typename std::enable_if_t<std::is_same_v<wxString,
typename std::decay_t<T>>,
int> = 0>
31template<
typename T,
typename std::enable_if_t<std::is_same_v<wxString,
typename std::decay_t<T>>,
int> = 0>
37template<
typename T,
typename std::enable_if_t<std::is_same_v<wxString,
typename std::decay_t<T>>,
int> = 0,
typename... Args>
The namespace used by libfilezilla.
Definition apply.hpp:17
std::wstring native_string
A string in the system's native character type and encoding. Note: This typedef changes depending on...
Definition string.hpp:34
std::string to_utf8(std::string_view const &in)
Converts from std::string in native encoding into std::string in UTF-8.
bool dispatch(event_base const &ev, F &&f)
Dispatch for simple_event<> based events to simple functors.
Definition event_handler.hpp:199
std::wstring to_wstring(std::string_view const &in)
Converts from std::string in system encoding into std::wstring.
std::string sprintf(std::string_view const &fmt, Args &&... args)
A simple type-safe sprintf replacement.
Definition format.hpp:456
native_string to_native(std::string_view const &in)
Converts std::string to native_string.
String types and assorted functions.