hsf-training / cpluspluscourse

C++ Course Taught at CERN, from Sebastien Ponce (LHCb)
Apache License 2.0
157 stars 58 forks source link

Mistake in modules slide? #487

Closed hageboeck closed 10 months ago

hageboeck commented 10 months ago

In the following slide, import export module base is probably incorrect. (I don't find any "import export" on https://en.cppreference.com/w/cpp/language/modules.)

image

Presumably, the correct syntax is import export base, but needs to be checked.

bernhardmgruber commented 10 months ago

Yeah, this looks wrong. It should probably be export import base;.

Generally, this example looks very complicated. It may benefit from a little overhaul. I will have a look in a few days.