AutoPas  3.0.0
Loading...
Searching...
No Matches
optRef.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <functional>
9#include <optional>
10
11namespace autopas::utils {
15template <typename T>
16using optRef = std::optional<std::reference_wrapper<T>>;
17} // namespace autopas::utils
In this namespace some helper classes and functions can be found used inside of AutoPas.
Definition: namespaces.h:44
std::optional< std::reference_wrapper< T > > optRef
Short alias for std::optional<std::reference_wrapper<T>>
Definition: optRef.h:16