Convert view() to initializer_list