C++ example of bitwise option conversion.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>