IMO this chain notation is cleaner than split it to two lines. You use chains also for ```<<```

```C++
std::cout<<"foo"<<bar<<std::endl;
```
can also written as
```C++
std::cout<<"foo";
std::cout<<bar;
std::cout<<std::endl;
```