Skip to content

This repository is a very simple C++ modules example.

Notifications You must be signed in to change notification settings

camio/modules-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modules Example

This repository is a very simple C++ modules example. It consists of a Makefile, a module test.cppm, and a main.cpp that uses it. The intent is that this code be useful for those why are trying to learn how modules work with the (at the time of this writing) newly released Clang 15 compiler. See the Clang Standard C++ Modules page for more details.

Build/Run

This project can be built with the following command,

make

If Clang 15 or later is not in your path, you can instead specify it on the command line as follows:

make CXX=/path/to/clang++-15

The generated executable is called main and can be run from the command line once built.

./main

About

This repository is a very simple C++ modules example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published