Iros
 
Loading...
Searching...
No Matches
maybe_inline_vtable.h
Go to the documentation of this file.
1#pragma once
2
5#include "di/meta/algorithm.h"
6
7namespace di::any {
8template<size_t threshold>
10 template<size_t N>
11 constexpr static bool store_out_of_line = N > threshold;
12
13 template<concepts::Interface Interface>
14 using Invoke =
16 Interface>;
17};
18}
Definition any.h:18
Type< Defer< Fun::template Invoke, Args... > > Invoke
Definition function.h:43
Definition inline_vtable.h:11
Definition maybe_inline_vtable.h:9
meta::Invoke< meta::Conditional< store_out_of_line< meta::Size< Interface > >, OutOfLineVTable, InlineVTable >, Interface > Invoke
Definition maybe_inline_vtable.h:14
static constexpr bool store_out_of_line
Definition maybe_inline_vtable.h:11
Definition out_of_line_vtable.h:11