# agora::internal::IsConvertibleFromOptional< T, U > 模板结构体 参考 (/zh-CN/api-reference/rtc-server-sdk/cpp/structagora-1-1internal-1-1-is-convertible-from-optional) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). 继承自 std::integral_constant< bool, std::is_constructible< T, Optional< U > & >::value||std::is_constructible< T, const Optional< U > & >::value||std::is_constructible< T, Optional< U > && >::value||std::is_constructible< T, const Optional< U > && >::value||std::is_convertible< Optional< U > &, T >::value||std::is_convertible< const Optional< U > &, T >::value||std::is_convertible< Optional< U > &&, T >::value||std::is_convertible< const Optional< U > &&, T >::value >.