C++ Standard Library: A Matter of Import.

Saved in:
Bibliographic Details
Title: C++ Standard Library: A Matter of Import.
Authors: Bruntlett, Ian
Source: Overload. Apr2026, Issue 192, p18-21. 4p.
Subject Terms: Compilers (Computer programs), C++, Ubuntu (Operating system)
Abstract: This article focuses on enabling and using C++ modules—a relatively new language feature—with older versions of the GNU Compiler Collection (gcc) on Ubuntu Linux systems. It documents the author’s process of obtaining and installing experimental gcc snapshot packages from Jonathan Wakely’s repository to compile examples from Bjarne Stroustrup’s book *Programming: Principles and Practice Using C++* (PPP3), which employs modules. The article provides a custom makefile and shell script to automate building module-based programs, explains how to modify PPP3 source files for compatibility, and offers guidance on compiling and updating the compiler environment. It emphasizes the efficiency benefits of modules over traditional #include directives and includes references and resources for further exploration of C++ modules. [Extracted from the article]
Database: Supplemental Index
Description
Abstract:This article focuses on enabling and using C++ modules—a relatively new language feature—with older versions of the GNU Compiler Collection (gcc) on Ubuntu Linux systems. It documents the author’s process of obtaining and installing experimental gcc snapshot packages from Jonathan Wakely’s repository to compile examples from Bjarne Stroustrup’s book *Programming: Principles and Practice Using C++* (PPP3), which employs modules. The article provides a custom makefile and shell script to automate building module-based programs, explains how to modify PPP3 source files for compatibility, and offers guidance on compiling and updating the compiler environment. It emphasizes the efficiency benefits of modules over traditional #include directives and includes references and resources for further exploration of C++ modules. [Extracted from the article]
ISSN:13543172