giorgifafa / lru-cache-cpp

Automatically exported from code.google.com/p/lru-cache-cpp
0 stars 0 forks source link

cache empty returns inverse #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output?
   Expected empty() to return true if the cache was empty (as do stl collections).

What do you see instead?
   Returns the inverse ( return size() > 0; )

What version of the product are you using? On what operating system?
   No version in source. Latest

Original issue reported on code.google.com by JSpren...@gmail.com on 16 Apr 2012 at 8:02