#include <bslstl_variant.h>
|
| static t_RET | functionImpl (t_VISITOR &visitor, t_VARIANT &variant) |
| |
◆ functionImpl()
template<class t_RET , class t_VISITOR , class t_VARIANT , class t_ALT_TYPE >
| static t_RET bslstl::Variant_MoveFunction< t_RET, t_VISITOR, t_VARIANT, t_ALT_TYPE >::functionImpl |
( |
t_VISITOR & |
visitor, |
|
|
t_VARIANT & |
variant |
|
) |
| |
|
inlinestatic |
This component-private function invokes the specified visitor with a bslmf::MovableRef referring to the active alternative object of the specified variant, implicitly converting the return type to (template parameter) t_RET.
- Precondition
- The behavior is undefined unless
variant has an active alternative of type (template parameter) t_ALT_TYPE.
The documentation for this struct was generated from the following file: