That's a pretty roundabout way of doing it. Why not just `*(bool*)dst = temp == "true"`? Or I think you should be able to just do `ss >> *(bool*)dst`.