diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-08 19:39:03 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-08 19:39:03 +0000 |
commit | aed8d94e97d1be8b4e26ce1ffb4d0547aee8ab1d (patch) | |
tree | f4b32ab9e34cda2eead99ae084f0b02d0dab6891 /contrib/libc++/src/variant.cpp | |
parent | 657db61c2068b2bcc0d930546402284e2c9c9abd (diff) | |
parent | 4a2db4d30e1653093d4d8b06e8221e2f8b723507 (diff) |
Notes
Diffstat (limited to 'contrib/libc++/src/variant.cpp')
-rw-r--r-- | contrib/libc++/src/variant.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/libc++/src/variant.cpp b/contrib/libc++/src/variant.cpp new file mode 100644 index 0000000000000..5bb508c3f4676 --- /dev/null +++ b/contrib/libc++/src/variant.cpp @@ -0,0 +1,18 @@ +//===------------------------ variant.cpp ---------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "variant" + +namespace std { + +const char* bad_variant_access::what() const noexcept { + return "bad_variant_access"; +} + +} // namespace std |