Compiler Error C2656

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C2656.

function' : function not allowed as a bit field

A function is declared as a member of a bit field.

This error can be caused by a syntax error in a constructor initializer list.

Show: