The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
unicode_cast.hpp File Reference
#include "ucs4_convert_impl.hpp"
#include <iostream>
#include <iterator>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_arithmetic.hpp>
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 (ucs4::char_t onechar)
 

Function Documentation

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 ( ucs4::char_t  onechar)
Template Parameters
TDOutput, a collection type.
Returns
An instance of TD.

Definition at line 95 of file unicode_cast.hpp.

References write().