Vendor import of llvm-project branch release/19.x llvmorg-19.1.1-0-gd401987fe349...
[freebsd/src.git] / libcxx / src / variant.cpp
blobb5462d64fe952b938313a6ae2e45bf7a47aa1516
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include <variant>
11 namespace std {
13 const char* bad_variant_access::what() const noexcept { return "bad_variant_access"; }
15 } // namespace std