Comment

Comment by setgid

Essentially C++ encourages you to put function declarations along with the data they operate on, even though only the latter is usually needed when included transitively from a header file. This problem is exacerbated by templates, which often require the full definitions of functions to be placed inside the header file.
parent setgid 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton