I am newbie in C++ and need some help. 
I want take a reference passed to a functon and pass it to another function. This reference is passed to the function encapsulated into another structure/class:

1. I defined a

```
Class A {
   int ax;
   int ay;
};

```
2. I defined a: 

```
Class B
{
   int bx;
   int by;
   A: a;
};

```
3. I defined a function : `f1(B& arg)`

Now, let's say `aa` is an object of type `A`:
I want to pass `aa` as reference to function `f1`, but inside the `class B`.
Something like this :

```
B bb;
bb.b1=10
bb.b2=20
bb.a=aa ==> here I want reference to a 

call f1(*bb)

```

But reference is take from another function so the finla stuff is:

```
caller::f2(&A arg)
{
  B bb;
    bb.b1=10
    bb.b2=20
    bb.a=arg==> here I want reference to a 

    call f1(*bb)

}

```

Thanks.