|
Boost Users : |
Subject: Re: [Boost-users] boost variant question
From: Igor R (boost.lists_at_[hidden])
Date: 2011-09-24 12:48:05
> Is there a mechanism to export the iterator that corresponds to the
> structure hosted in the variant and use it?
Actually, variant has only one (type-safe) observing mechanism -
static_visitor. Using static visitor you can make your own custom
facilities, including the one you mention.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net