Boost logo

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, kalb at, bjorn.karlsson at, gregod at, wekempf at