I don't think it should be nested. Just declare it in .cc. Use forward declaration here.