[threads] [1.35 RC2] forward declaration of exclusive_lock without definition in thread/locks.h

Hi, In boost/thread/locks.hpp, there is a forward declaration which is not defined anywhere. template<typename Mutex> class exclusive_lock; I suppose that this is an error. Regards _____________________ Vicente Juan Botet Escriba

vicente.botet <vicente.botet <at> wanadoo.fr> writes:
In boost/thread/locks.hpp, there is a forward declaration which is not defined anywhere.
template<typename Mutex> class exclusive_lock;
I suppose that this is an error.
Yes. It's supposed to be a forward-declaration of unique_lock, but it isn't actually required, so the lack of forward declaration doesn't cause a problem. Beman, Shall I remove the declaration of this undefined type from the release branch? Anthony

Anthony Williams wrote:
vicente.botet <vicente.botet <at> wanadoo.fr> writes:
In boost/thread/locks.hpp, there is a forward declaration which is not defined anywhere.
template<typename Mutex> class exclusive_lock;
I suppose that this is an error.
Yes. It's supposed to be a forward-declaration of unique_lock, but it isn't actually required, so the lack of forward declaration doesn't cause a problem.
Beman,
Shall I remove the declaration of this undefined type from the release branch?
Yes, thanks. --Beman
participants (3)
-
Anthony Williams
-
Beman Dawes
-
vicente.botet