rustycpp 0.1.6

An attempt to implement the C++20 standard. This is mostly to have fun & learn rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module;
#include <iostream>
void illegalfunctionthatwewontdetect() {
  std::cout << "Hello World!\n";
  module.not.a.real.module();
  export.not.a.real.export();
  import.not.a.real.import();
}
export module foo;
export import :otherfunc;
import :	internal;
export void foo();

module : private;
void privFunc() {
	internal();
	otherfunc();
}