示例#1
0
 const Mixin* get() const
 {
     const internal::mixin_type_info& info = _boost_get_mixin_type_info((Mixin*)nullptr);
     // intentionally disregarding the actual info
     return reinterpret_cast<const Mixin*>(internal_get_mixin(info.id));
 }
示例#2
0
文件: object.hpp 项目: iboB/dynamix
 const Mixin* get() const noexcept
 {
     const internal::mixin_type_info& info = _dynamix_get_mixin_type_info(static_cast<Mixin*>(nullptr));
     return reinterpret_cast<const Mixin*>(internal_get_mixin(info.id));
 }