diff options
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__type_traits/lazy.h')
-rw-r--r-- | contrib/llvm-project/libcxx/include/__type_traits/lazy.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/llvm-project/libcxx/include/__type_traits/lazy.h b/contrib/llvm-project/libcxx/include/__type_traits/lazy.h new file mode 100644 index 000000000000..6874b06f3c5a --- /dev/null +++ b/contrib/llvm-project/libcxx/include/__type_traits/lazy.h @@ -0,0 +1,25 @@ +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef _LIBCPP___TYPE_TRAITS_LAZY_H +#define _LIBCPP___TYPE_TRAITS_LAZY_H + +#include <__config> + +#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) +# pragma GCC system_header +#endif + +_LIBCPP_BEGIN_NAMESPACE_STD + +template <template <class...> class _Func, class ..._Args> +struct _Lazy : _Func<_Args...> {}; + +_LIBCPP_END_NAMESPACE_STD + +#endif // _LIBCPP___TYPE_TRAITS_LAZY_H |