Iros
 
Loading...
Searching...
No Matches
declval.h
Go to the documentation of this file.
1#pragma once
2
3#include "di/meta/core.h"
4#include "di/meta/language.h"
5
6namespace di::util {
7template<typename T>
9 static_assert(concepts::AlwaysFalse<T>, "declval() is only usable in non-evaluated contexts.");
10}
11}
12
13namespace di {
14using util::declval;
15}
This concept is used with static_assert() to cause the static assert to fail only when the template h...
Definition core.h:98
Type< detail::AddRValueReferenceHelper< T > > AddRValueReference
Definition language.h:411
Definition vocab.h:96
auto declval() -> meta::AddRValueReference< T >
Definition declval.h:8
Definition zstring_parser.h:9