mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-07 07:57:50 +00:00
Added thirdparty: boost library
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
#ifndef BOOST_QVM_ERROR_HPP_INCLUDED
|
||||
#define BOOST_QVM_ERROR_HPP_INCLUDED
|
||||
|
||||
// Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
|
||||
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <exception>
|
||||
|
||||
namespace boost { namespace qvm {
|
||||
|
||||
struct
|
||||
error:
|
||||
std::exception
|
||||
{
|
||||
char const *
|
||||
what() const throw()
|
||||
{
|
||||
return "Boost QVM error";
|
||||
}
|
||||
|
||||
~error() throw()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
struct zero_determinant_error: error { };
|
||||
struct zero_magnitude_error: error { };
|
||||
|
||||
} }
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user