Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-06-12 09:03:16


There's a known problem with boost::output_iterator_helper and MSVC, which
chokes on void default template arguments.
The interface to output_iterator_helper needs to be changed anyway, to
remove all of those parameters which default to void (an output iterator
/must/ have void value_type and differnce_type anyway).

Could that be involved somehow?
----- Original Message -----
From: "John Maddock" <John_Maddock_at_[hidden]>
To: "boost" <boost_at_[hidden]>
Sent: Tuesday, June 12, 2001 7:35 AM
Subject: [boost] operators library

> I'm seeing problems with the operators library when trying to compiler
> rational_test.cpp with VC6:
>
> Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>
> rational_test.cpp
> ../../boost/operators.hpp(706) : error C2182: '__formal' : illegal use of
> type 'void'
> ../../boost/operators.hpp(707) : error C2182: '__formal' : illegal use of
> type 'void'
> ../../boost/operators.hpp(708) : error C2182: '__formal' : illegal use of
> type 'void'
> ../../boost/operators.hpp(709) : error C2182: '__formal' : illegal use of
> type 'void'
> ../../boost/type_traits/ice.hpp(80) : fatal error C1506: unrecoverable
> block scoping error
>
> Anyone have any ideas?
>
> - John Maddock
> http://ourworld.compuserve.com/homepages/john_maddock/
>
> To unsubscribe, send email to: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


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