Path: blob/main/contrib/llvm-project/libcxx/include/__functional/is_transparent.h
35260 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89#ifndef _LIBCPP___FUNCTIONAL_IS_TRANSPARENT10#define _LIBCPP___FUNCTIONAL_IS_TRANSPARENT1112#include <__config>13#include <__type_traits/void_t.h>1415#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)16# pragma GCC system_header17#endif1819_LIBCPP_BEGIN_NAMESPACE_STD2021#if _LIBCPP_STD_VER >= 142223template <class _Tp, class, class = void>24inline const bool __is_transparent_v = false;2526template <class _Tp, class _Up>27inline const bool __is_transparent_v<_Tp, _Up, __void_t<typename _Tp::is_transparent> > = true;2829#endif3031_LIBCPP_END_NAMESPACE_STD3233#endif // _LIBCPP___FUNCTIONAL_IS_TRANSPARENT343536