Chapter 3: index_of metafunction