How ro declare a member which is a pointer to function
<pre><code>#define SYNC_DATA_CB list&lt;string&gt; (*syncData)(void)
</code></pre>

<p>I want to have in my class a member (static or not is not matter) that will hold the reference to the function pointer.</p>

<p>I tried to declare like this, but didnt compiled:</p>

<pre><code>SyncProcess{
  public:
   SyncProcess(SYNC_DATA_CB);
   static SYNC_DATA_CB sync_cb_;
}
</code></pre>
