pn532_packetbuffer[2] = (keyNumber) ? MIFARE_CMD_AUTH_A : MIFARE_CMD_AUTH_B;
1234
if(keyNumber) pn532_packetbuffer[2] = MIFARE_CMD_AUTH_A else pn532_packetbuffer[2] = MIFARE_CMD_AUTH_B;
123456789
struct something { explicit something( const char* its_name ) : name( its_name && its_name[0] ? its_name : "anonymous" ) {} // ... private: const std::string name ; };