我期待创建一个代表数据大小(字节,KB ...)的类型族。为此,这个想法是基于建立一个基本类型有实际尺寸: type SizeUnit = Int
type B = SizeUnit
type KB = SizeUnit
type MB = SizeUnit
type GB = SizeUnit
type TB = SizeUnit
ty
使用GCC 4.7.3,我得到以下错误 prog.cpp: In function ‘int main()’: prog.cpp:27:63: error: ‘Erase >::Result’ has not been declared 与this code: template <typename... List>
struct TypeList
{
enum
{