Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

Compiler

Options

BoolArray.h
Array.h

$
prog.cc:28:7: error: object of type 'Array<bool>::BitOfByteRef' cannot be assigned because its copy assignment operator is implicitly deleted
        y[3] = y[6] = true;     
             ^
./BoolArray.h:24:9: note: copy assignment operator of 'BitOfByteRef' is implicitly deleted because field 'vec' is of reference type 'Array<bool>::BYTE &' (aka 'unsigned char &')
                BYTE& vec;              // 参照先BYTE
                      ^
prog.cc:29:7: error: object of type 'Array<bool>::BitOfByteRef' cannot be assigned because its copy assignment operator is implicitly deleted
        z[5] = z[7] = true;
             ^
./BoolArray.h:24:9: note: copy assignment operator of 'BitOfByteRef' is implicitly deleted because field 'vec' is of reference type 'Array<bool>::BYTE &' (aka 'unsigned char &')
                BYTE& vec;              // 参照先BYTE
                      ^
./BoolArray.h:43:16: warning: private field 'ident' is not used [-Wunused-private-field]
                const Array* ident;
                             ^
1 warning and 2 errors generated.
Exit Code:
1