#include <iostream>
class A
{
public:
A(int v) : value(v) { }
int value;
};
class B : public A
{
public:
using A::A;
};
int main() {
B b = B(1);
std::cout << b.value << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKY2xhc3MgQQp7CnB1YmxpYzoKCUEoaW50IHYpIDogdmFsdWUodikgeyB9CgoJaW50IHZhbHVlOwp9OwoKY2xhc3MgQiA6IHB1YmxpYyBBCnsKcHVibGljOgoJdXNpbmcgQTo6QTsKfTsKCmludCBtYWluKCkgewoJQiBiID0gQigxKTsKCXN0ZDo6Y291dCA8PCBiLnZhbHVlIDw8IHN0ZDo6ZW5kbDsKCXJldHVybiAwOwp9