Boost logo

Glas :

Re: [glas] using (boost)range or STL style interface [was: dense and sparse vectors]

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2005-08-07 09:53:08


On Friday 05 August 2005 12:09 pm, David Abrahams wrote:
>
> The tests are in libs/sequence/algorithm/test.

I didn't get very far trying to build this with gcc4.0.1/x86_64:
g++ -fPIC -I/usr/local/src/boost_1_33_0 -I/home/nbecker/mtl4 -c -o
has_value.os has_value.cpp
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp: In instantiation of
'boost::sequence::detail::has_value<int>':
/usr/local/src/boost_1_33_0/boost/mpl/assert.hpp:125: instantiated from
'mpl_::assert_arg_pred<boost::sequence::detail::has_value<int> >'
has_value.cpp:12: instantiated from here
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp:34: error: size of
array has non-integral type '<type error>'
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp: In instantiation of
'boost::sequence::detail::has_value<int>':
/usr/local/src/boost_1_33_0/boost/mpl/assert.hpp:125: instantiated from
'mpl_::assert_arg_pred<boost::sequence::detail::has_value<int> >'
has_value.cpp:12: instantiated from here
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp:34: error: size of
array has non-integral type '<type error>'
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp:26: error: size of
array has non-integral type '<type error>'
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp:26: error: size of
array has non-integral type '<type error>'
has_value.cpp:12: error: conversion from 'mpl_::failed************
boost::mpl::not_<boost::sequence::detail::has_value<int> >::************' to
non-scalar type 'mpl_::assert<false>' requested
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp: In instantiation of
'boost::sequence::detail::has_value<dummy>':
/usr/local/src/boost_1_33_0/boost/mpl/assert.hpp:125: instantiated from
'mpl_::assert_arg_pred<boost::sequence::detail::has_value<dummy> >'
has_value.cpp:13: instantiated from here
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp:34: error: size of
array has non-integral type '<type error>'
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp:34: error: size of
array has non-integral type '<type error>'
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp:26: error: size of
array has non-integral type '<type error>'
/home/nbecker/mtl4/boost/sequence/detail/has_value.hpp:26: error: size of
array has non-integral type '<type error>'
has_value.cpp:13: error: conversion from 'mpl_::failed************
boost::mpl::not_<boost::sequence::detail::has_value<dummy> >::************'
to non-scalar type 'mpl_::assert<false>' requested
scons: *** [has_value.os] Error 1