Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

virt-specifier after function declared like a variable is not recognized

$
0
0

using F = void();

struct X {

  virtual F f;

};
 

struct Y : X {

F f override;

};

 

The code is valid, but ICC cannot compile the overriden function declaration in Y.


Viewing all articles
Browse latest Browse all 1175

Trending Articles