CodeTheRobot

C++ Intermediate · exercise 08

Build systems at scale

Separate an interface from its implementation using a namespace boundary.

C++ Intermediate lesson 08

Guided steps

  1. 1.Declare the limits type and the check function inside namespace drive.
  2. 2.Call it through its qualified name from main, as another translation unit would.
  3. 3.This is the same boundary a CMake library target enforces at link time.

Your code

Your code is saved in this browser after every run and restored next time.