DYT/Tool/matlab/include/MatlabEngine/detail/engine_exception_impl.hpp
2024-11-22 23:19:31 +08:00

33 lines
570 B
C++

/* Copyright 2017 The MathWorks, Inc. */
#ifndef ENGINE_EXCEPTION_IMPL_HPP
#define ENGINE_EXCEPTION_IMPL_HPP
#include <vector>
#include <streambuf>
#include <memory>
#include <future>
#include "../engine_exception.hpp"
#include <string>
#if defined(_WIN32 )
#define NOEXCEPT throw()
#else
#define NOEXCEPT noexcept
#endif
namespace matlab {
namespace engine {
inline EngineException::EngineException() {}
inline EngineException::EngineException(const std::string& msg) : Exception(msg) {}
}
}
#endif /* ENGINE_EXCEPTION_IMPL_HPP */