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@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53,
https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kdab.com&data=02%7C01%7Cmingxwa%40microsoft.com%7Cd23285333e474ece064d08d6e5d82090%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636949113756019585&sdata=hHKyQnM2Cv2zu4E4Wq0MEtexUBc85JY9Jf2OD3erMV4%3D&reserved=0
KDAB - The Qt, C++ and OpenGL Experts