Boost logo

Boost :

Subject: Re: [boost] Reg : Boost Error - any.hpp
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2011-08-27 03:57:32


On 26/08/2011 13:34, Vijay wrote:
> "/opt/app/q1app2c4/boost-1.31.0/boost/any.hpp", line 125: error #2070:
> incomplete type is not allowed
> ValueType held;
> ^
> detected during:
> instantiation of class
> "boost::any::holder<ValueType> [with ValueType=Fcif]"
> at
> line 32
> instantiation of "boost::any::any(const ValueType&) [with
> ValueType=Fcif]" at line 35 of
> "/opt/app/q1app2c4/src/share/incl/Fcif.h"
>

This question should probably go to the boost-users mailing list, and
that's quite an old version of boost to be using. That said, the error
actually tells you that your type, Fcif, is incomplete at the point
boost::any constructor is instantiated. It probably is declared, but not
defined (a class body, its members objects and functions, hasn't been
specified at that point).

Agustín K-ballo Bergé.-
http://talesofcpp.blogspot.com


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