Modules
Replace header inclusion with compiled module interfaces (C++20) — faster builds, no macro leakage.
Advanced
export module sensors;
export float read_temp();
import std; (C++23) imports the whole standard library.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.