void f()
	{
	class X
		{
	public:
		X(int i) { n = i; }
		operator int() { return n; }
		// ...
	private:
		int n;
		// ...
		};
	// ...
	}


