You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class S
|
|
{
|
|
int (&fnref0)(double);
|
|
// distinct kinds
|
|
int* &fnref1;
|
|
int &fnref2;
|
|
};
|
|
|
|
void foo(S& s)
|
|
{
|
|
}
|
|
typedef void(&callback)(int);
|
|
|
|
callback fn0(void)
|
|
{
|
|
}
|
|
|
|
int(&fn1(void))(int)
|
|
{
|
|
}
|
|
|
|
void fn2(callback c)
|
|
{
|
|
}
|