Are function attributes inherited? : <p>If I have a virtual function that carries an <a href="http://en.cppreference.com/w/cpp/language/attributes" rel="noreferrer">attribute</a></p>

<pre><code>[[nodiscard]]
virtual bool some_function() = 0;
</code></pre>

<p>Does that attribute get implicitly applied to overrides of that function?</p>

<pre><code>bool some_function() override;
</code></pre>

<p>Or do I need the attribute again?</p>

<pre><code>[[nodiscard]]
bool some_function() override;
</code></pre>
