C++ sylte cast testing