Add commit 43aab01 of BenHanson/lexertl14 from github

This commit is contained in:
Iain Benson
2018-11-16 22:34:49 +00:00
committed by Luis Ángel San Martín
parent c4f792bd40
commit d3de52ca82
37 changed files with 12723 additions and 1 deletions

View File

@ -0,0 +1,23 @@
// runtime_error.hpp
// Copyright (c) 2005-2018 Ben Hanson (http://www.benhanson.net/)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file licence_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef LEXERTL_RUNTIME_ERROR_HPP
#define LEXERTL_RUNTIME_ERROR_HPP
#include <stdexcept>
namespace lexertl
{
class runtime_error : public std::runtime_error
{
public:
runtime_error(const std::string &what_arg_) :
std::runtime_error(what_arg_)
{
}
};
}
#endif