My Project
Example.cpp
#include "Code.hpp"
void example2()
{
A a;
int id = a.getId();
B b(id);
b.func1();
b.func2(8);
}
void example3()
{
A a;
B b (a.getId());
b.func1();
b.func2(8);
}