advgetopt/option_info_ref.cpp
/** \brief Compare this option's value with the specified string.
 *
 * This operator compares this option's value with the specified string.
 *
 * \param[in] value  A string to compare this option's value with.
 *
 * \return true if both are equal.
 */
\brief Compare this option's value with the specified string.
This operator compares this option's value with the specified string.

\param[in] value  A string to compare this option's value with.

\return true if both are equal.
\ brief Compare this option ' s value with the specified string . This operator compares this option ' s value with the specified string . \ param [ in ] value A string to compare this option ' s value with . \ return true if both are equal .
bool option_info_ref::operator == (char const * value) const
{
    if(value == nullptr)
    {
        return empty();
    }
    return static_cast<std::string>(*this) == value;
}
bool option_info_ref :: operator == ( char const * value ) const { if ( value == nullptr ) { return empty ( ) ; } return static_cast < std :: string > ( * this ) == value ; }
\brief Compare this option's value with the specified string.
\ brief Compare this option ' s value with the specified string .