On Saturday, 28 May 2016 at 11:50:33 UTC, Lodovico Giaretta wrote:
Let's say I have a generic function that uses pointers. It will be inferred @system by the compiler, but I know that the pointer usage can be @trusted.

What kind of pointer usage do you have? Remember that basic & and * operations ARE @safe.

If you have more internally, you might be able to wrap them up in an @trusted function to again allow inference to work.

Reply via email to