ximol/str_cast.cpp File Reference


Detailed Description

cast to string implementation.

Author:
Tournois Florent
Version:
1.0
Id
str_cast.cpp,v 1.4 2004/02/22 10:27:32 tournois Exp
Log
str_cast.cpp,v
Revision 1.4 2004/02/22 10:27:32 tournois Add some doc.

Revision 1.3 2004/02/22 09:54:19 tournois Change years on the copyright.

Revision 1.2 2003/11/27 15:31:55 hfp partially adapted to vc6.

Revision 1.1 2003/11/18 18:54:51 tournois Add str_cast and drop the transformation.hpp file.

Definition in file str_cast.cpp.

#include <ximol/str_cast.hpp>
#include <ximol/macros.hpp>
#include <algorithm>
#include <functional>
#include <locale>

Include dependency graph for str_cast.cpp:

Include dependency graph

Go to the source code of this file.

Functions

XIMOL_BEGIN_PRIVATE_NAMESPACE
wchar_t 
to_wide_char (char c)
char to_narrow_char (wchar_t xc)


Function Documentation

char to_narrow_char wchar_t  xc  ) 
 

Definition at line 61 of file str_cast.cpp.

References XIMOL_USE_FACET.

Referenced by converter< char, wchar_t >::get(), and std::operator<<().

XIMOL_BEGIN_PRIVATE_NAMESPACE wchar_t to_wide_char char  c  ) 
 

Definition at line 53 of file str_cast.cpp.

References XIMOL_USE_FACET.

Referenced by converter< wchar_t, char >::get(), and std::operator<<().



Donate to the XiMoL project SourceForge.net Logo If you have any questions about XiMoL, you could write to tournois@users.sourceforge.net.