您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

15 行
361 B

#include "type_name.h"
#include <memory>
#include <utility>
#include <iostream>
int main() {
auto o = NULL;
int* n(reinterpret_cast<int*>(o));
// auto n = std::make_pair(0, (intptr_t) NULL);
std::cout << "decltype(n) is " << TYPE_NAME(n) << '\n';
auto p = std::make_pair(std::ref(o), nullptr);
std::cout << "decltype(p) is " << TYPE_NAME(p) << '\n';
}