object-introspection/include/oi/result
Jake Hillion 4c047b5f91 tbv2: add is_primitive to output
C++ has a concept of Primitive which holds in the type graph. However we don't
currently expose this information to the end user. Expose this from the OIL
iterator to allow future features like primitive rollups.

This affects containers like maps which have a fake `[]` element with no type.
They use this to group together the key/value in a map and to account for any
per element storage overhead. Currently the decision is to make the fake `[]`
element a primitive if all of its children are primitives. This allows for more
effective primitive rollups if that is implemented. This implementation detail
may be changed in future.

Test Plan:
- CI
- Updated simple tests.
2024-01-16 11:14:13 +00:00
..
Element.h tbv2: add is_primitive to output 2024-01-16 11:14:13 +00:00
SizedResult-inl.h tbv2: calculate total memory footprint 2024-01-04 09:21:35 +00:00
SizedResult.h tbv2: calculate total memory footprint 2024-01-04 09:21:35 +00:00