boost::mpl: index_of, inherit and joint_view

Signed-off-by: Alex Dubov <oakad@yahoo.com>