mardi 8 janvier 2019

How to use auto keyword to assign a variable of type uint32_t or uint64_t in c++

auto var = 5u; Here I am using suffix "u", so that var will be deduced as unsigned int, similarly for uint32_t or uint64_t is there any suffix in c++11 or c++14?

Aucun commentaire:

Enregistrer un commentaire