From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9585 invoked by alias); 7 Apr 2009 09:09:54 -0000 Received: (qmail 9494 invoked by uid 48); 7 Apr 2009 09:09:41 -0000 Date: Tue, 07 Apr 2009 09:09:00 -0000 Message-ID: <20090407090941.9493.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/39546] parallel mode doesn't support implicit string conversion In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "singler at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg00570.txt.bz2 ------- Comment #11 from singler at gcc dot gnu dot org 2009-04-07 09:09 ------- I found a shorter solution: Just parametrize equal_to with const T& instead of T. Better? In general, passing the element to find as const ref is the safest we can do, isn't it? AFAIK the other option is to not pass it at all. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39546