diff options
Diffstat (limited to 'gnu/llvm/libcxx/src/variant.cpp')
-rw-r--r-- | gnu/llvm/libcxx/src/variant.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/llvm/libcxx/src/variant.cpp b/gnu/llvm/libcxx/src/variant.cpp new file mode 100644 index 00000000000..1fe70a1809c --- /dev/null +++ b/gnu/llvm/libcxx/src/variant.cpp @@ -0,0 +1,17 @@ +//===------------------------ variant.cpp ---------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#include "variant" + +namespace std { + +const char* bad_variant_access::what() const noexcept { + return "bad_variant_access"; +} + +} // namespace std |