Boost logo

Boost :

Subject: Re: [boost] [ptr_container] ptr_map + abstract class = error
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-03-23 09:25:02

Ross Levine skrev:

> It seems that using operator[] creates a new A for an unmatched key,
> which creates an abstract instance. Using the find method works fine.
> Should this be documented? The example in the documentation uses
> operator[] on an ABC, and thus shouldn't compile either.

Ok, the docs needs to be corrected then. Thanks


Boost list run by bdawes at, gregod at, cpdaniel at, john at