ProteoWizard
Namespaces | Functions
boost Namespace Reference

Namespaces

namespace  date_time

Functions

void assertion_failed (char const *expr, char const *function, char const *file, long line)
void assertion_failed_msg (char const *expr, char const *msg, char const *function, char const *file, long line)
template<>
float lexical_cast (const std::string &str)

Function Documentation

void boost::assertion_failed ( char const *  expr,
char const *  function,
char const *  file,
long  line 
)
inline

Definition at line 110 of file Exception.hpp.

{
std::ostringstream oss;
oss << "[" << file << ":" << line << "] Assertion failed: " << expr;
throw std::runtime_error(oss.str());
}
void boost::assertion_failed_msg ( char const *  expr,
char const *  msg,
char const *  function,
char const *  file,
long  line 
)
inline

Definition at line 117 of file Exception.hpp.

{
std::ostringstream oss;
oss << "[" << file << ":" << line << "] Assertion failed: " << expr << " (" << msg << ")";
throw std::runtime_error(oss.str());
}
template<>
boost::logic::tribool boost::lexical_cast ( const std::string &  str)
inline