Definition in file get_if.hpp.
Go to the source code of this file.
Namespaces | |
namespace | utils |
Utilities. | |
Functions | |
template<typename Leaf > | |
constexpr auto * | utils::GetIf (Leaf &&leaf) |
template<typename Root , typename Head , typename... Tail> | |
constexpr auto * | utils::GetIf (Root &&root, Head &&head, Tail &&... tail) |
Dereferences a chain of indirections and compositions, returns nullptr if one of the chain elements is not set. | |