Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Optional error should be a warning
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2019-01-14 20:39:48


AMDG

On 1/14/19 1:10 PM, Michael Powell via Boost-users wrote:
> On Mon, Jan 14, 2019 at 3:08 PM Steven Watanabe via Boost-users
> <boost-users_at_[hidden]> wrote:
>>
>> On 1/14/19 12:31 PM, Michael Powell via Boost-users wrote:
>>> I am using Boost.Optional, and, while I do want to "include it in an
>>> output", the library which I am doing so has another mechanism to do
>>> so.
>>>
>>
>> It doesn't matter that you have another way to handle
>> output. If you get this message, it means that your
>> code is trying to call optional's stream operator,
>> for which you must #include optional_io.hpp.
>
> Actually, no you do not need to include it.

I'm a bit puzzled about how you reached this
conclusion, when you are clearly getting an
error that is a result of not including it.

> That's the point of
> providing my own String Maker to the Catch framework, in this
> instance.
>

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