How can i convert fliflop (flow control) to c++

bIsA = !bIsA;
if (bIsA)
{
//Flip
}
else
{
//Flop
}

bIsA is just a member bool variable (variable declared in the header file)

can someone give me idea to convert flipflop(flow control) in c++

thanks in advance

thank you so much GarnerP57