bug-commoncpp
[Top][All Lists]
Advanced

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

Re: AtomicCounter::operator int() constness?


From: David Sugar
Subject: Re: AtomicCounter::operator int() constness?
Date: Tue, 04 Sep 2001 08:11:25 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010802

Yes, I think you are right....however, gcc will not let one specify qualifiers for an int operator.

Federico Montesino Pouzols wrote:

        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.


_______________________________________________
Bug-commoncpp mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-commoncpp






reply via email to

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