C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] String contains member function
From: Giuseppe D'Angelo (giuseppe.dangelo_at_[hidden])
Date: 2019-05-31 09:56:06


On 31/05/2019 14:31, Ville Voutilainen via Std-Proposals wrote:
> Well, {map,set}::contains is a logarithmic operation, string::contains
> would be linear. That could well be an argument for naming the linear
> operation differently from the logarithmic one.

What about std::unordered_map::contains then?

My 2 c,

-- 
Giuseppe D'Angelo | giuseppe.dangelo_at_[hidden] | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts



STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups