...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Invoke a function object with the contents of a value
.
Defined in header <boost/json/visit.hpp>
template< class Visitor> auto visit( Visitor&& v, value& jv);
The value returned by Visitor.
Name |
Description |
---|---|
|
The visitation function to invoke |
|
The value to visit. |
Convenience header <boost/json.hpp>