Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-11-12 18:20:11


"Doug Gregor" wrote:

> The formal review of the Named Parameters library ...
>
Question: was it tested with Intel C++?

I get errors (Intel C++ 7.0 plugged inside VC6 IDE
with old Dinkumware). All settings default.
I use Boost 1.32 prerelease

The same code compiled with VC++ 6.5.

The documentation claims Intel C++ 5.0, 6.0, 7.1,
8.0 work. Is 7.0 exception?

/Pavel

________________________________
named_params_test.cpp
C:\work\reviews\boost_1_32_0\boost/mpl/eval_if.hpp(32): error: invalid base
class
      : if_<C,F1,F2>::type
        ^
          detected during:
            instantiation of class "boost::mpl::eval_if<C, F1, F2> [with
C=boost::detail::is_const_reference_wrapper<const
boost::reference_wrapper<int>>, F1=const boost::reference_wrapper<int>,
F2=boost::mpl::identity<const boost::reference_wrapper
<int>>]" at line 431 of
"C:\work\reviews\named_params\boost\boost/named_params.hpp"
            instantiation of class "boost::detail::unwrap_cv_reference<T>
[with T=const boost::reference_wrapper<int>]" at line 159 of
"C:\work\reviews\named_params\boost\libs\utility\test\named_params_test.cpp"
C:\work\reviews\named_params\boost\boost/named_params.hpp(431): error: class
"boost::mpl::eval_if<boost::detail::is_const_reference_wrapper<const
boost::reference_wrapper<int>>, const boost::reference_wrapper<int>,
boost::mpl::identity<const boost::
reference_wrapper<int>>>" has no member "type"
>::type type;
           ^
          detected during instantiation of class
"boost::detail::unwrap_cv_reference<T> [with T=const
boost::reference_wrapper<int>]" at line 159 of
"C:\work\reviews\named_params\boost\libs\utility\test\named_params_test.cpp"
C:\work\reviews\named_params\boost\libs\utility\test\named_params_test.cpp(1
17): error: no instance of overloaded function "test::equal" matches the
argument list
            argument types are: (const int, const
boost::detail::named<test::index_t, <error-type>>::value_type)
            assert(equal(i, i_));
            ^
          detected during:
            instantiation of "void test::values_t<Name, Value,
Index>::operator()(const Name_ &, const Value_ &, const Index_ &) const
[with Name=char [4], Value=double, Index=int,
Name_=boost::detail::named<test::name_t, char [4]>::value_type, Valu
e_=boost::_bi::bind_t<double, double (*)(),
boost::_bi::list0>::result_type={boost::_bi::result_traits<double, double
(*)()>::type={double}}, Index_=boost::detail::named<test::index_t,
<error-type>>::value_type]" at line 53
            instantiation of "int test::f_impl(const Params &) [with
Params=boost::detail::list<boost::detail::named<test::tester_t, const
test::values_t<char [4], double, int>>,
boost::detail::list<boost::detail::named<test::index_t, <error-type>>,
 boost::detail::list<boost::detail::named<test::name_t, char [4]>,
boost::detail::nil>>>]" at line 67
            instantiation of "int test::f(const Tester &, const Name &,
const Value &) [with Tester=test::values_t<char [4], double, int>,
Name=boost::detail::named<test::index_t, <error-type>>,
Value=boost::detail::named<test::name_t, char [4]>]"
compilation aborted for
C:\work\reviews\named_params\boost\libs\utility\test\named_params_test.cpp
(code 2)
Error executing cl.exe.

test.exe - 3 error(s), 0 warning(s)
_________________
EOF


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