xref: /llvm-project/libc/src/__support/CPP/type_traits/true_type.h (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
1 //===-- true_type type_traits -----------------------------------*- C++ -*-===//
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 #ifndef LLVM_LIBC_SRC___SUPPORT_CPP_TYPE_TRAITS_TRUE_TYPE_H
9 #define LLVM_LIBC_SRC___SUPPORT_CPP_TYPE_TRAITS_TRUE_TYPE_H
10 
11 #include "src/__support/CPP/type_traits/bool_constant.h"
12 #include "src/__support/macros/config.h"
13 
14 namespace LIBC_NAMESPACE_DECL {
15 namespace cpp {
16 
17 // true_type
18 using true_type = cpp::bool_constant<true>;
19 
20 } // namespace cpp
21 } // namespace LIBC_NAMESPACE_DECL
22 
23 #endif // LLVM_LIBC_SRC___SUPPORT_CPP_TYPE_TRAITS_TRUE_TYPE_H
24