Project

General

Profile

Necessary Maintenance #17008

Updated by Kyle Knoepfel almost 4 years ago

The documentation at [[Inter-Product References#FindOne-FindOneP]] seems not to mention what is the result of the query:
<pre><code class="cpp">
art::FindOneP<B>
class="cpp">art::FindOne<B> query(As, event, label);
art::Ptr<B> result = query.at(i);</code></pre> when @As[i]@ is not associated with any @B@.

It might be that @result@ will be an invalid pointer... if so, it needs to be documented.

Back