yat/utility/utility.h File Reference

Some useful functions are placed here. More...

#include "deprecate.h"
#include <cmath>
#include <limits>
#include <string>
#include <stdexcept>
#include <sstream>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  theplu
namespace  theplu::yat
namespace  theplu::yat::utility

Functions

template<typename InputIterator, typename OutputIterator>
bool theplu::yat::utility::binary_weight (InputIterator first, InputIterator last, OutputIterator result)
template<typename T>
theplu::yat::utility::convert (const std::string &s)
 convert string to (numerical) type
template<typename T>
bool theplu::yat::utility::is (const std::string &s)
 check if string is convertible to (numerical) type
bool theplu::yat::utility::is_double (const std::string &) YAT_DEPRECATE
bool theplu::yat::utility::is_equal (std::string s, std::string other)
bool theplu::yat::utility::is_float (const std::string &) YAT_DEPRECATE
bool theplu::yat::utility::is_int (const std::string &) YAT_DEPRECATE
bool theplu::yat::utility::is_nan (const std::string &s)


Detailed Description

Some useful functions are placed here.


Generated on Tue Jan 18 02:20:10 2011 for yat by  doxygen 1.5.5