xref: /freebsd/contrib/llvm-project/libcxx/src/variant.cpp (revision cb14a3fe5122c879eae1fb480ed7ce82a699ddb6)
1349cc55cSDimitry Andric //===----------------------------------------------------------------------===//
20b57cec5SDimitry Andric //
30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric //
70b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
80b57cec5SDimitry Andric 
981ad6265SDimitry Andric #include <variant>
100b57cec5SDimitry Andric 
110b57cec5SDimitry Andric namespace std {
120b57cec5SDimitry Andric 
13*cb14a3feSDimitry Andric const char* bad_variant_access::what() const noexcept { return "bad_variant_access"; }
140b57cec5SDimitry Andric 
150b57cec5SDimitry Andric } // namespace std
16