Iros
 
Loading...
Searching...
No Matches
forward_like.h
Go to the documentation of this file.
1#pragma once
2
3#include "di/meta/core.h"
4#include "di/meta/util.h"
5
6namespace di::util {
7template<typename T, typename U>
8[[nodiscard]] constexpr auto forward_like(U&& value) -> decltype(auto) {
9 return static_cast<meta::Like<T, meta::RemoveReference<U>>&&>(value);
10}
11}
12
13namespace di {
15}
Type< detail::LikeHelper< T, U > > Like
Definition language.h:468
Definition vocab.h:96
constexpr auto forward_like(U &&value) -> decltype(auto)
Definition forward_like.h:8
Definition zstring_parser.h:9