Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2004-09-15 13:18:34

I was under this impression from the MS docs, but a recent reply to my query
by Brandon Bray at MS cites a 40901 release (perhaps an internal beta 2?),
whereas I have says 8.0.40607.16 but I am not sure if the compiler release
has changed.
(cl.exe file is 8.00.40607.16 too)


PS The query was about an item which failed to compile using 8.0 (OK with

template<typename T, typename BigT>
out_sqr(ostream& os, T x, BigT temp)
  temp = x * x;
  os << temp;

Bray says that this is because the implicit function return type is int,

I assumed that the implicit function return type was void,

and indeed if void is added, it works as expected.

Can anyone who has digested the Standard quote chapter and verse on this?

Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539 561830 +44 7714 330204
mailto: pbristow_at_[hidden]

| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Victor A.
| Wagner Jr.
| Sent: 15 September 2004 08:16
| To: boost_at_[hidden]
| Subject: Re: [boost] spirit 1.8 / vc 8.0 test results
| As I appear to be the only person running vc 8.0 I figure you must be
| talking to me.
| I checked the updates tonight, and the only update appears to
| add some
| "Team System"
| ============ from the webpage ==================
| Visual Studio 2005 Beta 1 Refresh with Visual Studio Team System
| Before you install
| The Visual Studio 2005 Beta 1 Refresh is the same as the
| previous beta
| release, but now includes a Community Technology Preview
| (CTP) of Visual
| Studio 2005 Team System. While betas receive a much higher
| level of testing
| and feature work, CTPs are intended to expose developers to
| the latest
| working build. The Visual Studio 2005 Beta 1 Refresh is
| therefore still
| unsupported pre-release software and there are some
| precautions you should
| take. Please make sure you read both the Visual Studio 2005
| Readme and the
| Visual Studio Team System Readme prior to installing this release.
| =================================================
| I have intentionally NOT updated.
| If you feel my decision is incorrect please let me know.
| At Monday 2004-09-13 10:41, you wrote:
| >Spirit 1.8 with vc 8.0 is showing some test failures which impact the
| >serialization library.
| >
| >In particular, the chest test is failing.
| >
| >Is this going to be addressed?
| >
| >Perhaps the vc 8.0 compiler being used for the test should
| be updated to the
| >latest version if it hasn't been already. I think this would be very
| >useful.
| >
| >Robert Ramey

Boost list run by bdawes at, gregod at, cpdaniel at, john at