di 0.1.0
Loading...
Searching...
No Matches
tie.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace di::vocab {
6namespace detail {
7 struct TieFunction {
8 template<typename... Types>
9 constexpr auto operator()(Types&... references) const {
10 return Tuple<Types&...>(references...);
11 }
12 };
13}
14
15constexpr inline auto tie = detail::TieFunction {};
16}
17
18namespace di {
19using vocab::tie;
20}
Definition lazy.h:165
constexpr auto tie
Definition tie.h:15
Tuple(Types...) -> Tuple< Types... >
Definition any_storable.h:9