Hacker News new | ask | show | jobs
by int_19h 1707 days ago
You'd still need the header that describes the public interface of such a separately compiled object file.

Also, this doesn't work with templates, and modern idiomatic C++ tends to be template-heavy.