|
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> chezphil.org> 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>,
optional<tag::compare>,
optional<tag::stable>
> priority_queue_signature;
to this:
typedef parameter::parameters<boost::parameter::optional<tag::allocator>,
boost::parameter::optional<tag::compare>,
boost::parameter::optional<tag::stable>
> priority_queue_signature;
I really don't know what's going on there.
Some provisional benchmark numbers coming soon...
Phil.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk