[mlir][ods] Store the pointer to the anchor element (NFC)
[llvm-project.git] / libcxx / src / variant.cpp
blobb6ec448081a9a653673812019567067ff6fc8925
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 {
14 return "bad_variant_access";
17 } // namespace std