5#ifndef BITCOIN_UTIL_ANY_H
6#define BITCOIN_UTIL_ANY_H
20 T*
const* ptr = std::any_cast<T*>(&any);
21 return ptr ? *ptr :
nullptr;
#define T(expected, seed, data)
T * AnyPtr(const std::any &any) noexcept
Helper function to access the contained object of a std::any instance.