The Battle for Wesnoth  1.15.2+dev
Classes | Namespaces | Functions
unicode_cast.hpp File Reference
#include "ucs4_convert_impl.hpp"
#include <iostream>
#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.

Classes

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 >
 

Namespaces

 ucs4_convert_impl
 

Functions

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.
Returns
An instance of TD.

Definition at line 93 of file unicode_cast.hpp.

References write().