Files
nix/src/libutil
Robert Hensing 5aaa0cc4a6 refactor(ref): clarify implicit conversion semantics with requires clause
ref<Derived> was already implicitly convertible to ref<Base>, but the
mechanism was unclear and error messages for rejected downcasts were
more cryptic than necessary. This change:

- Adds RefImplicitlyUpcastableTo concept to constrain the conversion
  operator, making the intent explicit and improving error messages
- Documents .cast() and .dynamic_pointer_cast() as alternatives for
  explicit downcasting
- Adds unit tests for covariance behavior
2026-02-16 16:43:08 +01:00
..
2026-01-27 00:06:59 -05:00
2026-02-14 20:39:32 -05:00
2026-02-14 20:39:32 -05:00
2024-06-12 18:31:02 -04:00
2025-11-25 05:00:09 +00:00
2025-08-06 11:51:44 -04:00
2025-08-06 11:51:44 -04:00
2026-01-20 04:35:16 +03:00
2026-01-05 19:48:08 +00:00
2025-07-18 12:47:27 -04:00
2026-02-10 13:06:27 -05:00
2025-07-18 12:47:27 -04:00
2025-07-18 12:47:27 -04:00
2025-08-18 20:29:45 +03:00
2025-07-18 12:47:27 -04:00
2025-07-18 12:47:27 -04:00
2025-07-18 12:47:27 -04:00
2025-07-18 12:47:27 -04:00
2025-07-18 12:47:27 -04:00
2025-11-18 04:30:57 +03:00
2025-11-07 23:50:38 +01:00
2025-07-18 12:47:27 -04:00