Option++  2.0
C++ library for reading command-line options
Public Member Functions | List of all members
optionpp::bad_dereference Class Reference

Exception indicating an invalid iterator was dereferenced. More...

#include <error.hpp>

Inheritance diagram for optionpp::bad_dereference:
Inheritance graph
[legend]
Collaboration diagram for optionpp::bad_dereference:
Collaboration graph
[legend]

Public Member Functions

 bad_dereference (const std::string &msg, const std::string &fn_name)
 Constructor. More...
 
- Public Member Functions inherited from optionpp::error
 error (const std::string &msg, const std::string &fn_name)
 Constructor. More...
 
const std::string & function () const
 Return the name of function that threw the exception. More...
 

Detailed Description

Exception indicating an invalid iterator was dereferenced.

Constructor & Destructor Documentation

◆ bad_dereference()

optionpp::bad_dereference::bad_dereference ( const std::string &  msg,
const std::string &  fn_name 
)
inline

Constructor.

Parameters
msgDescription of the error.
fn_nameName of the function in which error occurred.

The documentation for this class was generated from the following file: