Chaining cout in swift like C++

In an earlier article, we discussed the possibility of adding a cout like functionality in Swift as seen in C++ (http://swift.oz-apps.com/2015/04/using-a-cout/). There were a couple of impediments that prevented the full functionality of our cout function. Let us revisit that and add chaining

Using a cout << like function with Swift to work with console and String

If you have worked with C++, you might be well aware of the cout function, it is one of the most commonly used functions with C++. That is simply because you can just use it so

and it prints Hello World to the console. Well, using the println("Hello World") is not difficult either, but…