#include <iostream>

#include <string>
#include <tuple>

class Type
{
public:
	Type() : t{std::tie(a, b, c, d, e, f)} {}

	int a;
	short b;
	long c;
	unsigned char d;
	bool e;
	std::string f;

	std::tuple<int&, short&, long&, unsigned char&, bool&, std::string&> t;
};

int main()
{
	Type A{};

	A.c = 5;

	std::cout << std::get<2>(A.t) << std::endl;

	return 0;
}