On Wednesday, 12 June 2024 at 16:06, Ilija Tovilo <tovilo.il...@gmail.com> 
wrote:

> Hi everyone
> 
> [...]
> 
> I hope that these semantics are acceptable for everyone.
> 
> Ilija

Hello Ilija,

I might know what sort of technical issues you've been running into, as I have 
some similar issues correctly handling references with my Container/Offset RFC 
implementation.
The way I'm handling this is by splitting the "get"/read handler/hook to *just* 
be a by-value return, and for fetching creating a new "fetch" handler that is 
called in the respective situations.
Therefore, I am wondering if it wouldn't possibly make more sense to add a 
"fetch" hook, and ban returning by-ref for the get hook.

Best regards,

Gina P. Banyard

Reply via email to