33#ifndef EXAMPLES_H_INCLUDED
34#define EXAMPLES_H_INCLUDED
37#ifdef _RWSTD_NO_NAMESPACE
42#ifdef _RWSTD_NO_FOR_LOCAL_SCOPE
43# define for if (0) ; else for
48#ifdef _RWSTD_NO_LIBC_IN_STD
61#ifdef _RWSTD_NO_CLASS_PARTIAL_SPEC
68template<
class InputIter,
class T>
76template<
class InputIter,
class T>
85template<
class InputIter>
100#ifdef _RWSTD_NO_TEMPLATE_ON_RETURN_TYPE
102#if !defined (_MSC_VER) || _MSC_VER > 1300
106#define has_facet fake_has_facet
107#define use_facet fake_use_facet
110template <
class Facet>
113 has_facet (
const std::locale &
loc)
115#ifndef _RWSTD_NO_TEMPLATE_ON_RETURN_TYPE
117 :
result (std::has_facet<Facet>(
loc)) { }
125 operator bool ()
const {
134template <
class Facet>
137 use_facet (
const std::locale &
loc)
140 operator const Facet& ()
const {
150# define _HAS_FACET(facet, locale) has_facet (locale, (facet*)0)
156#ifdef _RWSTD_NO_EXCEPTIONS
158# define catch(ex) else if (0) for (ex ; 0 ; )
159# define throw(ignore) abort ()
163#ifdef _RWSTD_NO_WCHAR_T
175#define wstring string
176#define wstringstream stringstream
void count(T, T, const U &,...)
void count_if(T, T, U,...)
#define _RWSTD_NAMESPACE(name)
#define _USE_FACET(type, arg)