Boost logo

Boost Users :

Subject: Re: [Boost-users] Iostreams tag dispatch failure?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-15 21:20:32


AMDG

Stéphane Perras wrote:
> I've been trying to compile the container_source example from the
> boost/iostreams documentation for a couple of days actually without
> success. It seems to me that tag dispatching fails to dispatch the
> default (for any_tag) implementation for optimal_buffer_size( ),
> imbue( ) and flush( ). I'm using Visual C++ 2005 SP1. I saw one
> unanswered posting about this exact problem early 2007, but on GCC.
> So I guess from this that I'm missing something obvious.

I can't reproduce this. I pasted your code into a clean Win32 console
project
and it compiled fine.

/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm
/EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp"Debug\foo.pch" /Fo"Debug\\"
/Fd"Debug\vc80.pdb" /W3 /nologo /c /Wp64 /ZI /TP /errorReport:prompt

Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP1

Installed Edition: VC Express

Microsoft Visual C++ 2005 76542-000-0000011-00125
Microsoft Visual C++ 2005

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net