libfilezilla
Namespaces | Functions
wx.hpp File Reference

Glue to handle support wxString for some functions. More...

#include "../private/defs.hpp"
#include "windows.hpp"
#include <wx/string.h>
#include "../format.hpp"
#include "../string.hpp"
Include dependency graph for wx.hpp:

Go to the source code of this file.

Namespaces

 fz
 The namespace used by libfilezilla.
 

Functions

template<typename T , typename std::enable_if_t< std::is_same_v< wxString, typename std::decay_t< T >>, int > = 0>
std::wstring to_wstring (T const &s)
 
template<typename T , typename std::enable_if_t< std::is_same_v< native_string, typename std::decay_t< T >>, int > = 0>
native_string to_native (T const &in)
 Avoid converting native_string to native_string_view and back to native_string.
 
template<typename T , typename std::enable_if_t< std::is_same_v< wxString, typename std::decay_t< T >>, int > = 0>
std::string to_utf8 (T const &s)
 
template<typename T , typename std::enable_if_t< std::is_same_v< wxString, typename std::decay_t< T >>, int > = 0, typename... Args>
std::wstring sprintf (T const &fmt, Args &&... args)
 

Detailed Description

Glue to handle support wxString for some functions.