23 lines
281 B
C++
23 lines
281 B
C++
// Global module fragment, where #includes can happen
|
|
module;
|
|
|
|
import std;
|
|
|
|
export module game;
|
|
|
|
export class lib
|
|
{
|
|
public:
|
|
lib();
|
|
~lib();
|
|
void helloworld();
|
|
};
|
|
|
|
lib::lib() = default;
|
|
lib::~lib() = default;
|
|
|
|
void lib::helloworld()
|
|
{
|
|
std::print("Hello world!\n");
|
|
}
|