Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Function template from_string

boost::log::trivial::from_string — Parses enumeration value from string and returns true on success and false otherwise.

Synopsis

// In header: <boost/log/trivial.hpp>


template<typename CharT> 
  bool from_string(const CharT * str, std::size_t len, severity_level & lvl);

PrevUpHomeNext