std::any::type
| const type_info& type() const; |  | (since C++17) | 
|---|
查询包含的类型。
参数
%280%29
返回值
大typeid如果实例是非空的,则为typeid(void)...
例外
noexcept规格:
noexcept
 © cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

