The Battle for Wesnoth  1.17.12+dev
Classes | Namespaces | Functions
unicode_cast.hpp File Reference
#include "log.hpp"
#include "ucs4_convert_impl.hpp"
#include <iterator>
Include dependency graph for unicode_cast.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  ucs4_convert_impl::iteratorwriter< oitor_t >
 Transforms an output iterator to a writer for ucs4_convert_impl functions. More...
struct  ucs4_convert_impl::enableif< Tret, Tcheck >




template<typename TD , typename TS >
ucs4_convert_impl::enableif< TD, typename TS::value_type >::type unicode_cast (const TS &source)
template<typename TD >
TD unicode_cast (char32_t onechar)

Function Documentation

◆ unicode_cast() [1/2]

template<typename TD , typename TS >
ucs4_convert_impl::enableif<TD, typename TS::value_type>::type unicode_cast ( const TS &  source)

◆ unicode_cast() [2/2]

template<typename TD >
TD unicode_cast ( char32_t  onechar)
Template Parameters
TDOutput, a collection type.
An instance of TD.

Definition at line 93 of file unicode_cast.hpp.

References PLAIN_LOG, and write().