struct ov::Any::HasBaseMemberType

template <typename T>
struct HasBaseMemberType
{
    // fields

    static constexpr static const auto value = std::is_same<std::true_type, decltype(test<T>(nullptr))>::value;

    // methods

    template <class U>
    static auto test(U \*);

    template <typename>
    static auto test(...);
};