aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/RefCount.hh
AgeCommit message (Collapse)AuthorFilesLines
2011-05-10Make RefCount<> more sensiblePavel Labath1-2/+6
the previous version of operator*() made no sense. E.g., it violated the invariant (*ptr).foo <=> ptr->foo. The dereferencing operator now returns a reference to the pointed-to object, rather than a pointer to it. I also added a bool conversion operator, which can be used in testing the NULL-ness of the pointer. Anyone wondering if that could be done in a simpler way is encouraged to read <http://www.artima.com/cppsource/safebool.html>. And, finally, I removed the mutable flag from the m_data member, since it does not need it.
2008-08-16some cleanupMark Tiefenbruck1-4/+1
2007-01-07I overkilled RefCount. Too tired. Heres the proper fix.simonb1-39/+18
2007-01-07fix intrinsic problem with refcountsimonb1-18/+39
adjust slit menus to deconstruct properly
2006-07-01more dead functionsmarkt1-0/+2
2005-01-24copyright datemathias1-1/+1
2003-12-16fixed some icc warningsfluxgen1-1/+1
2003-05-07forgot returnfluxgen1-0/+1
2003-01-11removed explicit from copy constructorfluxgen1-1/+1
2003-01-01fixed minor bug in operator = Pointerfluxgen1-3/+2
2002-12-13ref counting for pointersfluxgen1-0/+129