xref: /openbsd-src/gnu/llvm/libcxx/src/support/runtime/stdexcept_vcruntime.ipp (revision 4bdff4bed0e3d54e55670334c7d0077db4170f86)
1*4bdff4beSrobert//===----------------------------------------------------------------------===//
246035553Spatrick//
346035553Spatrick// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
446035553Spatrick// See https://llvm.org/LICENSE.txt for license information.
546035553Spatrick// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
646035553Spatrick//
746035553Spatrick//===----------------------------------------------------------------------===//
846035553Spatrick
946035553Spatrick#ifndef _LIBCPP_ABI_VCRUNTIME
10*4bdff4beSrobert#error This file may only be used when deferring to vcruntime
1146035553Spatrick#endif
1246035553Spatrick
1346035553Spatricknamespace std {
1446035553Spatricklogic_error::logic_error(std::string const& s) : exception(s.c_str()) {}
1546035553Spatrickruntime_error::runtime_error(std::string const& s) : exception(s.c_str()) {}
1646035553Spatrick} // namespace std
17