note about ref patterns in pointer guide

Fixes #13602