Euphoria
numparse.cc File Reference
#include "base/numparse.h"
#include <cstdlib>
#include <limits>

Go to the source code of this file.

Namespaces

 eu
 

Macros

#define SPECIALIZE(TYPE, FUN)
 

Functions

std::optional< int > eu::locale_parse_int (const std::string &str)
 
std::optional< float > eu::locale_parse_float (const std::string &str)
 
std::optional< bool > eu::locale_parse_bool (const std::string &str)
 

Macro Definition Documentation

◆ SPECIALIZE

#define SPECIALIZE (   TYPE,
  FUN 
)
Value:
template<> std::optional<TYPE> \
locale_parse_generic<TYPE>(const std::string& str) { return FUN(str); }
#define FUN(NAME)

Definition at line 47 of file numparse.cc.