You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🎨 Let intrusive_list be instantiated with incomplete types
Problem:
- `intrusive_list` and `forward_intrusive_list` cannot be instantiated with
incomplete types in C++20, because the constraints do not allow it. Since
these lists use pointers, it's often useful to declare them using incomplete
types. Assuming that the types are complete before actually using the list,
this should be fine.
Solution:
- Add `complete` concept and `is_complete_v` variable template.
- Allow use of incomplete types to instantiate `intrusive_list` and
`intrusive_forward_list`.
0 commit comments