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


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
and it compiled fine.

/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, kalb at, bjorn.karlsson at, gregod at, wekempf at