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