[fusion] compiler complaining about incomplete type
RVCT 2.2 is complaining about "return vector<>();" on like 41 of as_vector.hpp (svn trunk) because vector is an incomplete type. This is almost certainly a compiler bug related to it checking the member template before it is instantiated. The simplest workaround is to move "#include <boost/fusion/sequence/conversion/detail/as_vector.hpp>" from the top of <boost/fusion/sequence/container/vector/vector.hpp> to the bottom of the file. It's the same problem I reported here: http://lists.boost.org/Archives/boost/2007/07/124309.php Thanks, Michael Marcin
Michael Marcin wrote:
RVCT 2.2 is complaining about "return vector<>();" on like 41 of as_vector.hpp (svn trunk) because vector is an incomplete type. This is almost certainly a compiler bug related to it checking the member template before it is instantiated.
The compiler is allowed to perform this check.
Peter Dimov wrote:
Michael Marcin wrote:
RVCT 2.2 is complaining about "return vector<>();" on like 41 of as_vector.hpp (svn trunk) because vector is an incomplete type. This is almost certainly a compiler bug related to it checking the member template before it is instantiated.
The compiler is allowed to perform this check.
Yes. I believe it is a fusion bug. I am working on unraveling the dependencies. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
participants (4)
-
Joel de Guzman -
Markus Schöpflin -
Michael Marcin -
Peter Dimov