Commit f90f822
committed
Extend TypeInfo to store and expose base class chain
- Modified TypeInfo::Create<T>() to compute and store the full base type chain
using compute_base_chain and to_type_index_vector.
- Added a new constructor to TypeInfo to accept a base_chain vector.
- Introduced baseChain() accessor and isConvertibleFrom() helper.
- Enables runtime introspection and safe type conversions across the base chain.1 parent d313bec commit f90f822
1 file changed
+26
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
369 | 374 | | |
370 | 375 | | |
371 | 376 | | |
| |||
378 | 383 | | |
379 | 384 | | |
380 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
381 | 394 | | |
382 | 395 | | |
383 | 396 | | |
| |||
403 | 416 | | |
404 | 417 | | |
405 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
406 | 429 | | |
407 | 430 | | |
408 | 431 | | |
409 | 432 | | |
| 433 | + | |
410 | 434 | | |
411 | 435 | | |
412 | 436 | | |
| |||
0 commit comments