Quantum++  v1.0-rc2
A modern C++11 quantum computing library
qpp::exception::ZeroSize Class Reference

Object has zero size exception. More...

#include <classes/exception.h>

Inheritance diagram for qpp::exception::ZeroSize:
Collaboration diagram for qpp::exception::ZeroSize:

Public Member Functions

std::string type_description () const override
 Exception type description. More...
 
- Public Member Functions inherited from qpp::exception::Exception
 Exception (const std::string &where)
 Constructs an exception. More...
 
virtual const char * what () const noexcept override
 Overrides std::exception::what() More...
 

Detailed Description

Object has zero size exception.

Zero sized object, e.g. empty Eigen::Matrix or std::vector with no elements

Member Function Documentation

◆ type_description()

std::string qpp::exception::ZeroSize::type_description ( ) const
inlineoverridevirtual

Exception type description.

Returns
Exception type description

Implements qpp::exception::Exception.


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