Code snippet of C++.