runtime2.cpp File Reference

Using boost::any for type coercion. More...

#include "eleve/config.hpp"
#include <limits>
#include <string>
#include <locale>
#include <locale.h>
#include <boost/array.hpp>
#include <boost/lexical_cast.hpp>
#include "runtime2.hpp"
#include "typing0.hpp"
#include "typing3.hpp"
#include "typing1.hpp"
#include <ql/utilities/tracing.hpp>
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  eepgwde
namespace  eepgwde::detail

Classes

struct  eepgwde::detail::type_t
class  eepgwde::detail::Typing::Impl

Typedefs

typedef struct
eepgwde::detail::type_t 
eepgwde::detail::type_t
typedef boost::array< const
std::locale, 3 > 
eepgwde::detail::locales_t

Functions

static std::vector< type_t > eepgwde::detail::types_1 (types_0, types_0+(sizeof(types_0)/sizeof(types_0[0])))
const locale * eepgwde::detail::dating (const std::locale &ours)
boost::gregorian::date eepgwde::detail::locale_trier (const std::string &sdt) throw (std::domain_error)
template<>
const char ** eepgwde::detail::as< const char * > (const char **v, const boost::any &operand)
 Another specialization.
std::string eepgwde::detail::as (const boost::any &operand)
std::ostream & eepgwde::detail::operator<< (std::ostream &o, const usdate &t)
std::istream & eepgwde::detail::operator>> (std::istream &i, usdate &t)
std::ostream & eepgwde::detail::operator<< (std::ostream &o, const eudate &t)
std::istream & eepgwde::detail::operator>> (std::istream &i, eudate &t)
std::ostream & eepgwde::detail::operator<< (std::ostream &o, const posixdate &t)
std::istream & eepgwde::detail::operator>> (std::istream &i, posixdate &t)

Variables

static std::vector< Renderer
const * > 
eepgwde::detail::null_types
type_t eepgwde::detail::types_0 [] = {}
static locales_t eepgwde::detail::locales = { Typing::posix, Typing::us, Typing::uk }


Detailed Description

Using boost::any for type coercion.

This file provides template specializations for any_cast<>.

The is_double method is the only one that merits specialization. It accepts int and double.

Definition in file runtime2.cpp.


Generated on Thu Feb 18 21:30:12 2010 for eleve by  doxygen 1.5.6