Boost logo

Boost :

Subject: Re: [boost] [Heaps] Compiler error: ‘optional’ was not declared in this scope
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2011-06-07 16:51:26

Phil Endecott <spam_from_boost_dev <at>> writes:
> I'm trying to do some simple tests with the proposed Heaps library, but
> I get a mountain of compiler errors that start like this:

Well I've got it to work by changing priority_queue.hpp from this:

typedef parameter::parameters<optional<tag::allocator>,
> priority_queue_signature;

to this:

typedef parameter::parameters<boost::parameter::optional<tag::allocator>,
> priority_queue_signature;

I really don't know what's going on there.

Some provisional benchmark numbers coming soon...


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