Temperature Class implements C++ pl.