Boost logo

Boost :

Subject: Re: [boost] [enable_if] compile failure in trunk
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-12-05 08:53:17


On 12/05/2011 01:36 PM, Tim Blechmann wrote:

> /home/tim/workspace/boost-trunk/boost/parameter/name.hpp:52:1: error: template argument 2 is invalid

Note this is the first error, and that's unrelated to enable_if.

> /home/tim/workspace/boost-trunk/boost/fusion/iterator/equal_to.hpp:77:9: error: expected nested-name-specifier before ‘enable_if’

This message says a declaration of enable_if is missing.
Either it's not properly qualified, or equal_to.hpp is not including it
and was relying on other files to include it, which of course is very
fragile. (missing includes is a very common bug in many Boost libraries
though)


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