Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-14 | Remove the assignment operator from a regular pointer to a RefCount | Pavel Labath | 1 | -4/+4 | |
it is too easy too shoot yourself in the foot with it, other smart pointers also don't allow such assignments. If you do want to assign to a RefCount pointer, use reset(). ps: assignment between two RefCounts remains possible, of course. | |||||
2011-05-10 | Make RefCount<> more sensible | Pavel Labath | 1 | -3/+3 | |
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. | |||||
2009-09-30 | cosmetic fixes: removed redundant ';' + some whitespaces | Mathias Gumz | 1 | -1/+1 | |
2008-04-21 | some fixes for gcc 3.4 | Thomas Orgis | 1 | -1/+1 | |
2008-01-24 | don't require final {} on :If | Mark Tiefenbruck | 1 | -1/+1 | |
2008-01-11 | make FbTk::Command a template class, split parsing information out of ↵ | Mark Tiefenbruck | 1 | -28/+28 | |
ObjectRegistry | |||||
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -2/+0 | |
2007-12-20 | convert macro command parsing to use new StringUtil function | Mark Tiefenbruck | 1 | -33/+23 | |
2007-12-16 | changed CommandRegistry to a template class, renamed to ObjectRegistry<Type> | Mark Tiefenbruck | 1 | -12/+12 | |
2007-12-13 | added FbTk::CommandRegistry, decentralized command parsing, and made them ↵ | markt | 1 | -0/+93 | |
auto-register | |||||
2007-11-22 | added conditional statements to keys file | markt | 1 | -0/+75 | |