tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
tie.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2// SPDX-FileCopyrightText: Copyright (C) 2021 Tobias Hienzsch
3
4#ifndef TETL_TUPLE_TIE_HPP
5#define TETL_TUPLE_TIE_HPP
6
7#include <etl/_tuple/tuple.hpp>
8
9namespace etl {
10
11template <typename... Args>
12constexpr auto tie(Args&... args) noexcept -> tuple<Args&...>
13{
14 return {args...};
15}
16
17} // namespace etl
18
19#endif // TETL_TUPLE_TIE_HPP
Definition adjacent_find.hpp:9
constexpr auto tie(Args &... args) noexcept -> tuple< Args &... >
Definition tie.hpp:12
Definition tuple.hpp:114