Comment

Comment by steveklabnik

C++ cannot because it does not have the necessary information present in its syntax. It’s really that simple. C++ could add such syntax, but outside of what Circle is doing, I’m not aware of any real proposal to add it.

Also, Google (more specifically, the Chrome folks) tried to make it work via templates, but found that it was not possible. There’s a limit to template magic, even.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton