Boost logo

Boost :

Subject: Re: [boost] [1.44][Serialization] fails to compile on OSX universal
From: David Irvine (david.irvine_at_[hidden])
Date: 2010-08-21 16:09:49

On Sat, Aug 21, 2010 at 7:38 PM, Emil Dotchevski
<emil_at_[hidden]> wrote:
> On Sat, Aug 21, 2010 at 10:08 AM, Robert Ramey <ramey_at_[hidden]> wrote:
>> replace
>>    int id;
>>    if(id == original_id)
>>        ...
>> with
>>    special_type id(... ah think about this - this is a good thing);
>>    if(id == original_id)
> Yes, we have user-defined types in the language to define custom
> behaviors in case the semantics of the built-in types are inadequate
> or incomplete. But whether such a change is a good thing can not be
> argued in the abstract, each case is different. I bet that sometimes
> the feeling of satisfaction we get when we see no warnings at all at
> the highest possible level gets in the way of our good judgment.
> Emil Dotchevski
> Reverge Studios, Inc.

I bet your right (almost certain of it in many cases, which I have
seen), although logic would assume that the inference would propose
never switching on the highest possible level of warnings. I know your
not proposing that per se' but perhaps with boost being the closest to
a c++ standards extension library in many cases, it does arguably
require definitive policy on warnings (excuse my ignorance if this
exists). I understand the compliers all react differently but perhaps
teir 1 compilers could be considered and the policy strictly applied.
Yes I realise this has gone way off topic now, so I am sorry.

I think doing this also fleshes out some strange / 'unreadable for
everyone' code at the same time.

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