I swear I've searched all over the Internet and SO for this exact problem, but couldn't find any solutions.

Here's the setup:

```
template <typename T>
class Foo {
  static bool bar;

public:
  struct Baz {
    void quux() {
      // I want to access bar here
    }
  };
  // friend typename struct Foo<T>::Baz;
  // The above works, but I'm not sure if it's what I need?
};

```

Is what I'm trying to do possible?