mlpack
Functions
CLI::enums Namespace Reference

Include the items in this namespace to get free conversion of enums to/from streams. More...

Functions

template<typename T , typename = typename std::enable_if<std::is_enum<T>::value>::type>
std::ostream & operator<< (std::ostream &in, const T &item)
 output streaming for enumerations
 

Detailed Description

Include the items in this namespace to get free conversion of enums to/from streams.

(This is available inside CLI as well, so CLI11 will use this without a using statement).