Question: So I have a function that expects a function pointer as an input and whose prototype goes something like this:

```
int function(int (*op)(int, int));

```

I was wondering if I can pass an operator in for that function pointer. Specifically this **built in** operator:

```
int operator|(int, int);

```

I've tried this:

```
function(&(operator|));

```

and got this kind of error:

```
error: no matching function for call to 'function(<unresolved overloaded function type>)'

```

I've tried this:

```
function(&(operator|(int, int)));

```

and got this kind of error:

```
error: expected primary-expression before 'int'

```

I've looked for this situation in documentation, but I get things about the "address of" operator (operator&) instead of things about the address of an operator....

Edit:

See previous question
[Calling primitive operator-functions explicitly in C++](https://stackoverflow.com/questions/4061162/calling-primitive-operator-functions-explicitly-in-c)

Answer: 
Pure Javascript (no jQuery dependency):

```
var buttons = document.getElementsByTagName("button");
for(var i=0; i<buttons.length; i++){
    buttons[i].onclick = function(){
        document.getElementById("Content").style.backgroundColor = getComputedStyle(this).backgroundColor;
    }
}

```

[Demo](http://jsfiddle.net/YE3mj/4/)
if you are using $(".Btn").click then you are using jquery. This means that you can simplify a lot the subsequent line.

```
$(".Btn").click(function(){
  $("#Content").css('background-color',$(this).css('background-color'));   
});

```

and here is your fiddle edited: [DEMO](http://jsfiddle.net/AFBTp/)