Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-14 | add FbTk::makeRef function, for easier construction of RefCount pointers | Pavel Labath | 1 | -0/+20 | |
2011-09-14 | Add a reset() function to FbTk::RefCount | Pavel Labath | 1 | -0/+1 | |
to make it's interface more compatible with other smart pointers. | |||||
2011-09-14 | Add template copy constructor to FbTk::Refcount | Pavel Labath | 1 | -2/+8 | |
and remove a an "almost" copy constructor (almost, because it takes a non-const reference parameter) which was useless. | |||||
2011-05-10 | Make RefCount<> more sensible | Pavel Labath | 1 | -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-16 | some cleanup | Mark Tiefenbruck | 1 | -4/+1 | |
2007-01-07 | I overkilled RefCount. Too tired. Heres the proper fix. | simonb | 1 | -39/+18 | |
2007-01-07 | fix intrinsic problem with refcount | simonb | 1 | -18/+39 | |
adjust slit menus to deconstruct properly | |||||
2006-07-01 | more dead functions | markt | 1 | -0/+2 | |
2005-01-24 | copyright date | mathias | 1 | -1/+1 | |
2003-12-16 | fixed some icc warnings | fluxgen | 1 | -1/+1 | |
2003-05-07 | forgot return | fluxgen | 1 | -0/+1 | |
2003-01-11 | removed explicit from copy constructor | fluxgen | 1 | -1/+1 | |
2003-01-01 | fixed minor bug in operator = Pointer | fluxgen | 1 | -3/+2 | |
2002-12-13 | ref counting for pointers | fluxgen | 1 | -0/+129 | |