Subject: Re: [boost] constness in barrier.hpp
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2011-12-22 06:35:24


Gaetano Mendola wrote:
> Hi all,
> simple patch to make const the private member m_threshold in class
> barrier

Could you please mention the name of the concerned library in the subject line (such as [thread])?

Care to explain which problem your patch solves? (In case it is a "real" problem, you might be asked to also open a track ticket for the issue.) Making a non-static member variable const can affect the semantics of the entire class. It is not clear to me whether this is also the case here, and whether this would be intended.

Regards,
Thomas