xref: /llvm-project/libcxx/src/variant.cpp (revision 9783f28cbb155e4a8d49c12e1c60ce14dcfaf0c7)
1eb8650a7SLouis Dionne //===----------------------------------------------------------------------===//
20d3d8de0SEric Fiselier //
357b08b09SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
457b08b09SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
557b08b09SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60d3d8de0SEric Fiselier //
70d3d8de0SEric Fiselier //===----------------------------------------------------------------------===//
80d3d8de0SEric Fiselier 
9bbb0f2c7SArthur O'Dwyer #include <variant>
100d3d8de0SEric Fiselier 
110d3d8de0SEric Fiselier namespace std {
120d3d8de0SEric Fiselier 
what() const13*9783f28cSLouis Dionne const char* bad_variant_access::what() const noexcept { return "bad_variant_access"; }
140d3d8de0SEric Fiselier 
150d3d8de0SEric Fiselier } // namespace std
16