Exemplo n.º 1
0
 std::ostream & operator<<(std::ostream & o, Entry const & e)
 { return o << e.name << &e - &entries.front(); }
Exemplo n.º 2
0
 unsigned int id(Tracked const & t) { return entry(&t) - &entries.front(); }