mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 01:22:32 +00:00
This looks at three things: - if the type has a typedef `AllowOwnPtr', respect that - if not, disallow construction if both of `ref()' and `unref()' are present. Note that in the second case, if a type only defines `ref()' or only defines `unref()', an OwnPtr can be created, as a RefPtr of that type would be ill-formed. Also marks a `Performance' to explicitly allow OwnPtrs. |
||
|---|---|---|
| .. | ||
| Performance.cpp | ||
| Performance.h | ||
| Performance.idl | ||