syntax funtion problem

Good morning to everyone,
I have a problem for interpret a source code in c++. Can someone help to me.
What mean:

 
  scope_abc::function_name ( ) (&a,&b);


Why are there 4 parentheses? function ( ) (...)

The realy name of the function in the source code is 'operator'.

Thanks to everyone
I guess scope_abc::function_name() returns an object that has operator() defined.

1
2
3
4
5
6
7
8
9
10
11
12
namespace scope_abc
{
	struct C
	{
		void operator()(void*, void*){}
	};
	
	C function_name()
	{
		return C();
	}
}
I'm sorry but I have not explained correctly my problem or I didn't understand "the solution".

I'm inside the class 'abc' (abc.cc file)

1
2
3
4
5
void abc::operator ()(....) {
	int a;
	c = ....
	........
}


But in the same file I don't have the funtion

1
2
3
4
object_type abc::operator() {
        ....
	return ...;
}


thank you very much
Topic archived. No new replies allowed.