The Expressive C++17 Coding Challenge in D

Seb seb at wilzba.ch
Wed Feb 14 07:49:11 UTC 2018


On Wednesday, 14 February 2018 at 06:42:23 UTC, Arun 
Chandrasekaran wrote:
> It takes a lot of time and effort to write such quality 
> content. Thanks for detailed explanations.

Thanks :)
Now if we had a magic automaton that makes more of these ...

> // import std.algorithm, std.exception, std.format, std.range, 
> std.stdio;
> Do you think it is worth mentioning about 
> std.experimental.scripting in section 2?

Well, it hasn't been released yet, but maybe I get around writing 
another article ;-)
Also looking at the C++ "competitor", I think we aren't too bad 
off with a few modules for now:

---
#include <algorithm>
#include <experimental/filesystem>
#include <fstream>
#include <iostream>
#include <optional>
#include <string>
#include <string_view>
#include <sstream>
#include <utility>
#include <vector>

using namespace std;
namespace fs = std::experimental::filesystem;
---

> Syntax highlighting is missing in some snippets.

Thanks for the pointer. Fixed!


More information about the Digitalmars-d-announce mailing list