我试图做一个程序,对于给定的int value保持分隔量的数组: int amount_of_dividers和那些分隔的列表:int* dividers 这是代码: #include <stdio.h>
#include <stdlib.h>
typedef struct{
int value;
int amount;
int* dividers;
} Di
我有这个类: class A{
template<typename Type = int32_t> Type b(){}
template<typename Type = int32_t> Type b(Type a, Type b){}
}
而且我想获得一个指针的函数b<int>()和b<int>(int, int) 我试过,但它不知道哪个一个接: auto t = (