xref: /openbsd-src/gnu/llvm/libcxx/src/variant.cpp (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 
9*4bdff4beSrobert #include <variant>
1046035553Spatrick 
1146035553Spatrick namespace std {
1246035553Spatrick 
what() const1346035553Spatrick const char* bad_variant_access::what() const noexcept {
1446035553Spatrick   return "bad_variant_access";
1546035553Spatrick }
1646035553Spatrick 
1746035553Spatrick }  // namespace std
18