Spicy
hilti
runtime
include
any.h
1
// Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details.
2
3
#pragma once
4
5
#include <hilti/rt/3rdparty/any/any.hpp>
6
7
namespace
hilti::rt
{
8
9
// We ran into some trouble with older versions of std::any on some
10
// platforms, so we're bringing in an external implementation for the time
11
// being. Specifically, we observed the issue in
12
// https://stackoverflow.com/a/52414724 on Debian 10, with no obvious way to
13
// work around it. See https://github.com/zeek/spicy/issues/629 for the full
14
// discussion.
15
//
16
// Note that this implementation pulls in the *experimental* any interface,
17
// which is slightly different from the standardized C++17 API.
18
19
using
linb::any;
20
using
linb::any_cast;
21
using
linb::bad_any_cast;
22
23
}
// namespace hilti::rt
hilti::rt
Definition:
any.h:7
Generated by
1.8.13