Boost logo

Boost :

From: Andy (atompkins_at_[hidden])
Date: 2007-05-08 09:43:36

"Peter Dimov" <pdimov_at_[hidden]> wrote in

> Oliver.Kowalke_at_[hidden] wrote:
>> Hello,
>> Instead of
>> bool is_null() const
>> and
>> static guid const& null()
>> I would prefer
>> bool is_nil() const
>> and
>> static guid const& nil().
> null()/nil() are actually redundant and only contribute thread safety
> problems. The default constructor already creates a NULL UUID, as it
> should.

I agree that they are redundant. I am not pushing them, but just wondering
why they would contribute to thread safety problems since they return a
constant object?


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