... C++11 by using a namespace: namespace FileType { enum Enum { Png, Jpg, Bmp }; } // Excepts the type FileType::Enum write_file(img_data, "foo ...
確定! 回上一頁