This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 11/18] add some utility methods to vec
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: tbsaunde+gcc at tbsaunde dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 20 Apr 2016 07:29:41 -0500
- Subject: Re: [PATCH 11/18] add some utility methods to vec
- Authentication-results: sourceware.org; auth=none
- References: <1461133342-10794-1-git-send-email-tbsaunde+gcc at tbsaunde dot org> <1461133342-10794-12-git-send-email-tbsaunde+gcc at tbsaunde dot org>
On Wed, Apr 20, 2016 at 02:22:15AM -0400, tbsaunde+gcc@tbsaunde.org wrote:
> +template<typename T, typename A>
> +inline bool
> +vec_safe_contains (vec<T, A, vl_embed> *v, const T &search)
> +{
> + return v? v->contains (search) : false;
> +}
Missing space.
Segher