1 //===------------------------ variant.cpp ---------------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "variant"
11
12 namespace std {
13
what() const14 const char* bad_variant_access::what() const noexcept {
15 return "bad_variant_access";
16 }
17
18 } // namespace std
19