// Copyright (c) 2020-now by the Zeek Project. See LICENSE for details. #pragma once #include namespace hilti::rt { // We ran into some trouble with older versions of std::any on some // platforms, so we're bringing in an external implementation for the time // being. Specifically, we observed the issue in // https://stackoverflow.com/a/52414724 on Debian 10, with no obvious way to // work around it. See https://github.com/zeek/spicy/issues/629 for the full // discussion. // // Note that this implementation pulls in the *experimental* any interface, // which is slightly different from the standardized C++17 API. using linb::any; // NOLINT(misc-unused-using-decls) using linb::any_cast; // NOLINT(misc-unused-using-decls) using linb::bad_any_cast; // NOLINT(misc-unused-using-decls) } // namespace hilti::rt