Change c_find and c_adjacent_find to take a ref and not a const ref
This prevents this footgun: auto it = c_find(CreateTemporaryVector()); // `it` is now dangling PiperOrigin-RevId: 204020720
Loading
Please sign in to comment
This prevents this footgun: auto it = c_find(CreateTemporaryVector()); // `it` is now dangling PiperOrigin-RevId: 204020720