MCRO
C++23 utilities for Unreal Engine.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
x
z
Variables
a
i
k
p
s
t
Typedefs
f
i
t
Enumerations
Concepts
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
v
w
~
Functions
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
w
~
Variables
a
b
c
d
e
f
h
i
m
n
o
p
r
s
t
v
w
Typedefs
a
b
c
d
e
f
i
m
p
r
s
t
v
w
Enumerations
Enumerator
Related Symbols
g
o
Files
File List
Globals
All
_
a
b
d
e
f
g
i
l
m
n
o
p
s
t
u
w
Functions
b
d
e
g
o
s
Typedefs
Macros
_
a
e
f
i
l
m
n
p
s
t
u
w
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
Void.h
Go to the documentation of this file.
1
/** @noop License Comment
2
* @file
3
* @copyright
4
* This Source Code is subject to the terms of the Mozilla Public License, v2.0.
5
* If a copy of the MPL was not distributed with this file You can obtain one at
6
* https://mozilla.org/MPL/2.0/
7
*
8
* @author David Mórász
9
* @date 2025
10
*/
11
12
/**
13
* @file
14
* @brief
15
* These two are the most useful types in the arsenal of the C++ developer. Use these for dummy types or when it is
16
* easier to have explicit return types than dealing with void specializations in templates.
17
*/
18
19
#pragma once
20
21
/** @brief This struct may be only used in decltype or templating situations when definition is not required */
22
struct
FDeclareOnly;
23
24
/** @brief This struct may be used for situations where something needs to be returned but it's not meaningful to do so. */
25
struct
MCRO_API
FVoid
26
{
27
/** @brief A constructor which accepts any arguments and does nothing with them */
28
template
<
typename
... Args>
29
FVoid
(Args&&...) {}
30
};
25
struct
MCRO_API
FVoid
{
…
};
FVoid
This struct may be used for situations where something needs to be returned but it's not meaningful t...
Definition
Void.h:26
FVoid::FVoid
FVoid(Args &&...)
A constructor which accepts any arguments and does nothing with them.
Definition
Void.h:29
Public
Mcro
Void.h
Generated by
1.12.0