struct ov::util::AsTypePtr

struct ov::util::AsTypePtr<std::shared_ptr<In>>

Casts a std::shared_ptr<Value> to a std::shared_ptr<Type> if it is of type Type, nullptr otherwise

#include <type.hpp>

template <typename In>
struct AsTypePtr<std::shared_ptr<In>>
{
    // methods

    template <typename Type>
    static std::shared_ptr<Type> call(const std::shared_ptr<In>& value);
};