Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Python to C++14 transpiler. Parent comment
For the array I do a little hackery. You can define the array without an initial value in the container and I can guess the value type.
arr = [] arr.append(1)
std::vector<decltype(1)> arr{}; arr.push_back(1);
There are no comments on this comment yet.
For the array I do a little hackery. You can define the array without an initial value in the container and I can guess the value type.
it will spit out