diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-08-27 15:29:33 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-08-27 15:29:33 +0000 |
commit | 02782a0ac44aa1ddd4260198ec206ade293c82ba (patch) | |
tree | e995a0fc4bb0bd94e55ed15d58ec1eaddc0a14d9 /src/tests/heap.cpp | |
parent | 728c597690056536a15910fb64a2b6ea104aa975 (diff) | |
download | libbu++-02782a0ac44aa1ddd4260198ec206ade293c82ba.tar.gz libbu++-02782a0ac44aa1ddd4260198ec206ade293c82ba.tar.bz2 libbu++-02782a0ac44aa1ddd4260198ec206ade293c82ba.tar.xz libbu++-02782a0ac44aa1ddd4260198ec206ade293c82ba.zip |
Huh, the Bu::Cache::Ptr didn't have comparison operators, seems odd. I should
probably document some of that...if you do an == with Bu::Cache::Ptr objects it
will compare them to see if they are the same pointer, not if the data contained
is compatible.
i.e. to see if two pointers are the same data, you can do:
a == b
but to see if a and b contain compatible data, do:
*a == *b
:)
Diffstat (limited to 'src/tests/heap.cpp')
0 files changed, 0 insertions, 0 deletions