AMDGPU: Allow f16/bf16 for DS_READ_TR16_B64 gfx950 builtins (#118297)
[llvm-project.git] / libcxx / test / support / make_implicit.h
blob8be53621019597fc16c66bc390e365f70435f0b8
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-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef SUPPORT_MAKE_IMPLICIT_H
10 #define SUPPORT_MAKE_IMPLICIT_H
12 // "make_implicit<Tp>(Args&&... args)" is a function to construct 'Tp'
13 // from 'Args...' using implicit construction.
15 #include <utility>
17 template <class T, class... Args>
18 T make_implicit(Args&&... args) {
19 return {std::forward<Args>(args)...};
22 #endif // SUPPORT_MAKE_IMPLICIT_H