void lyxbreaker(void const * data, const char * hint, int size);
-class Point {
-public:
- Point()
- : x_(0), y_(0)
- {}
-
- Point(int x, int y);
-
- int x_, y_;
-};
-
-
struct Geometry {
Point pos;
Dimension dim;
bool covers(T const * thing, int x, int y) const
{
- cache_type::const_iterator it = data_.find(thing);
+ typename cache_type::const_iterator it = data_.find(thing);
return it != data_.end() && it->second.covers(x, y);
}
int squareDistance(T const * thing, int x, int y) const
{
- cache_type::const_iterator it = data_.find(thing);
+ typename cache_type::const_iterator it = data_.find(thing);
if (it == data_.end())
return 1000000;
return it->second.squareDistance(x, y);