| 492 | return *std::get_if<ComponentType>(&Type); |
| 493 | } |
| 494 | void setComponentType(ComponentType &&CT) noexcept { |
| 495 | Type.emplace<ComponentType>(std::move(CT)); |
| 496 | } |
| 497 | |
| 498 | const InstanceType &getInstanceType() const noexcept { |
| 499 | return *std::get_if<InstanceType>(&Type); |