dev c++ doesn't compile std::function and __declspec(property
<p>why doesn't <code>std::function&lt;int(int)&gt; functionName</code> and <code>__declspec(property(get = getNumber, put = putNumber)) int number</code> work on dev c++?</p>

<p>I copied countless sample codes and they all return errors..</p>

<p>EDIT:</p>

<pre><code>class Class {
private:
    int _number;

    int getNumber() {
        return _number;
    }

    void putNumber(int number) {
        _number = number;
    }

public:
    __declspec(property(get = getNumber, put = putNumber)) int number;
    std::function&lt;int(int)&gt; functionName;
};
</code></pre>

<p>and if I just include this class it will give me an error..</p>
