$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Interest in a container which can hold multiple data types?
From: James Armstrong (armstrhu_at_[hidden])
Date: 2015-05-05 14:04:37
You're correct in that a vector<boost::any> can achieve the same thing, and
that would probably be the better way to implement this internally. I
guess the proposal would be to provide the container interface to give some
data modification functions and iterators which iterate over only a given
type and such. That way there would be a standardized container with
methods to deal with the data in a type specific way.
-- James Armstrong