std::variant::visit

GPTKB entity

Statements (13)
Predicate Object
gptkbp:instance_of gptkb:Footballer
gptkbp:bfsLayer 4
gptkbp:bfsParent gptkb:C++17
gptkbp:belongs_to std::variant
gptkbp:difficulty Constant time.
gptkbp:error_handling Strong guarantee.
gptkbp:headliner <variant>
gptkbp:is_described_as Applies a visitor to the value contained in a std::variant.
gptkbp:is_standardized_by C++17 and later.
gptkbp:orbital_period gptkb:album
visitor
gptkbp:provides_information_on result of the visitor's operator() invocation.
gptkbp:requires Visitor must be callable with the types contained in the variant.