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