/span><span class="p">(</span><span class="n">GridLocation</span> <span class="n">loc</span><span class="p">,</span> 
              <span class="n">Grid</span><span class="o">&lt;</span><span class="kt">bool</span><span class="o">&gt;&amp;</span> <span class="n">g</span><span class="p">)</span>
<span class="p">{</span>
    <span class="k">return</span> <span class="n">g</span><span class="p">.</span><span class="n">inBounds</span><span class="p">(</span><span class="n">loc</span><span class="p">)</span> <sp