bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AtomicCounter::operator int() constness?


From: Federico Montesino Pouzols
Subject: AtomicCounter::operator int() constness?
Date: Tue, 4 Sep 2001 13:34:57 +0200

        Hello everybody,

        Should not `AtomicCounter::operator int()' be const (in lines
thread.h:454, mutex.cpp:319 and mutex.cpp:393 ?

        Hmm, it seems that for platforms without HAVE_ATOMIC
(mutex.cpp:393), AtomicCounter::lock would have to be declared
mutable.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]