Boost logo

Boost Users :

Subject: Re: [Boost-users] ptr_map<U, T> with polymorphic U
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2012-11-08 07:14:26


On 08-11-2012 11:46, Thorsten Ottosen wrote:

> Perhaps something like
>
> typedef ptr_array<T,1> Key:
> typedef ptr_map<Mey,U> Map;
>
> would work? Let us know if this is an option.

If it works, we may add operator->() to ptr_array<T,1>
to make it more convenient.

-Thorsten


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