Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

visit

Invoke a function object with the contents of a value.

template<
    class Visitor>
decltype(static_cast< Visitor && >(v)(std::declval< std::nullptr_t & >()))
visit(
    Visitor&& v,
    value& jv);
  » more...

template<
    class Visitor>
decltype(static_cast< Visitor && >(v)(std::declval< std::nullptr_t const & >()))
visit(
    Visitor&& v,
    value const& jv);
  » more...

template<
    class Visitor>
decltype(static_cast< Visitor && >(v)(std::declval< std::nullptr_t && >()))
visit(
    Visitor&& v,
    value&& jv);
  » more...

PrevUpHomeNext