NVIDIA interview question

bitmasking using systemverilog C++ classes