From 5d0e9f961073f6ecc2f3f7095cd6514861bda339 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 27 Sep 2023 09:56:14 +0200 Subject: compat: add function2 fwd decl --- compat/function2.fwd.hpp | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 compat/function2.fwd.hpp diff --git a/compat/function2.fwd.hpp b/compat/function2.fwd.hpp new file mode 100644 index 00000000..ea0c0df9 --- /dev/null +++ b/compat/function2.fwd.hpp @@ -0,0 +1,35 @@ +#pragma once +// Copyright 2015-2020 Denis Blank +// Distributed under the Boost Software License, Version 1.0 +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +namespace fu2 { +inline namespace abi_400 { +namespace detail { + +template class function; +template struct config; +template struct property; + +} // namespace detail +} // namespace abi_400 + +struct capacity_default; + +template +using function_base = detail::function< + detail::config, + detail::property>; + +template +using function = function_base; + +template +using unique_function = function_base; + +template +using function_view = function_base; + +} // namespace fu2 -- cgit v1.2.3