#include <iostream>
typedef int Entity;
struct Attachment { 
    Entity entity;
    Attachment(Entity& mEntity) : entity(mEntity) { }
};

// ---
// User code
struct MyAttachment1 : Attachment { 
    // This is annoying to write for every attachment type
    // Especially when there are other constructor arguments
    // And if there are a lot of attachment types
    using Attachment::Attachment;
};
int main() {
	// your code goes here
	int i  =1;
	MyAttachment1 a(i);
	return 0;
}