News for hackers. Stuff that matters.
Re:The C++ Build Process Explained by berti on Thursday November 15, 2018 @05:58AM (#18458354)
Headers are used control visibility of declarations (note though that visibility of symbols themselves is controlled by other means), and typically contain more than just function declarations (structs, enums, etc.). There are basically two common patterns to split public and private declarations: - public header for consumers of the interface, private header for internal use only - public header for consumers, private declarations directly in the .cpp/.c file

There are no comments on this comment yet.