零开销抽象
This commit is contained in:
@@ -121,7 +121,7 @@ This preserves normal C++ member semantics, keeps raw object access available wh
|
||||
|
||||
`Type_Descriptor<T>` describes the **type**. `Property_Object<T>` adds state and behavior to an **instance**.
|
||||
|
||||
The schema contains the registered property tuple, object defaults and the default synchronization plan. A `Property_Object<T>` resolves that plan for each instance and owns its lock topology and mutex storage.
|
||||
The schema contains the registered property tuple, object defaults and the default synchronization plan. `Property_Object<T>` shares one resolved default lock topology per type and keeps only instance synchronization state that is actually required: real mutex storage for locking policies and a compact override layout only when an instance explicitly supplies `Property_Synchronization`.
|
||||
|
||||
This distinction matters for performance and architecture: structural description is type-level information; managed synchronization is instance-level state.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user