usage of diamond operator