diff --git a/3-Operators/3-Stream.ipynb b/3-Operators/3-Stream.ipynb index 77c6fc02b0fc216bb4701aa0fcc56e0783571818..107153abc9cb7ad35cf222cd13815d3046d615ec 100644 --- a/3-Operators/3-Stream.ipynb +++ b/3-Operators/3-Stream.ipynb @@ -27,7 +27,9 @@ "\n", "However, it's even better if we could use the `<<` syntax directly, and the way to do so is to provide an overload of `operator<<`.\n", "\n", - "The recommanded way to implement it is to use under the hood a `Print(std::ostream&)` (or whatever you want to call it) under the hood:" + "The recommanded way to implement it is to use under the hood a `Print(std::ostream&)` (or whatever you want to call it):\n", + "\n", + "**Xeus-cling** issue: cling doesn't accept operator definition outside of class; please use [@Coliru](https://coliru.stacked-crooked.com/a/04f59249cce6c131)" ] }, { @@ -222,8 +224,7 @@ " std::cout << \"Invalid input!\" << std::endl;\n", " \n", " return EXIT_SUCCESS;\n", - "}\n", - "\n" + "}" ] }, { @@ -232,8 +233,7 @@ "source": [ "This code doesn't run neither in Xeus-cling (due to the operator bug) nor in [Coliru](https://coliru.stacked-crooked.com/) or [Wandbox](https://wandbox.org/) (due to limited `std::cin` support) but you may check it on a local installation.\n", "\n", - "Even then, it is not perfect: it handles correctly the case gibberish is given through std::cin, but if you put more than two blocks separated by spaces the first two ones are used and the others aren't dealt with... As I said, proper and complete handling of input stream is though!\n", - "\n" + "Even then, it is not perfect: it handles correctly the case gibberish is given through `std::cin`, but if you put more than two blocks separated by spaces the first two ones are used and the others aren't dealt with... As I said, proper and complete handling of input stream is though!" ] }, {