call1.C   [plain text]


// Build don't link:

struct IsCompressed { };
struct Field {
  bool IsCompressed() const { return true; }
};

template<class C>
inline bool
for_each(const Field& p, IsCompressed, C)
{
  return p.IsCompressed();
}

template bool for_each<int>(const Field& p, IsCompressed, int);