struct ov::element::NoAction

Overview

Helper visitor which defines no action for not supported type. More…

#include <element_visitor.hpp>

template <class R, R... value>
struct NoAction
{
    // typedefs

    typedef R result_type;

    // methods

    static constexpr result_type visit();
};

Detailed Documentation

Helper visitor which defines no action for not supported type.

Parameters:

R

Type of return value.

value

Default value returned.

struct ov::element::NoAction<void>

Helper visitor which defines no action for not supported type if result is void type.

#include <element_visitor.hpp>

template <>
struct NoAction<void>
{
    // typedefs

    typedef void result_type;

    // methods

    static result_type visit();
};