Boost logo

Boost :

Subject: Re: [boost] [unordered] 1.41.0 unordered_map doesn't allow declaration with incomplete type.
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-11-27 05:40:03


2009/11/19 Jon Spencer <dev_at_[hidden]>:
> The new version of the unordered library doesn't allow you to declare an
> unordered
> map with an incomplete type. The following code would compile with the old
> version
> but not the new:

Sorry, about the slow reply. Support in the old version wasn't
intentional, I think it was just a result of the restricted templates
use in order to support older compilers. I think it's fixed in trunk
now, although I need to do more testing to make sure. It should be
fixed in the next release.

Daniel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk