Invoke visitor on the value currently held by this object.

Synopsis

Declared in <bdld_datum.h>

template<class t_VISITOR>
void
apply(t_VISITOR& visitor) const;

Description

Apply the specified visitor to the current value represented by this object by passing held value to the visitor object's operator() overload.

Parameters

Name

Description

visitor

callable applied to the held value

Created with MrDocs