From owner-freebsd-current@FreeBSD.ORG Tue Nov 12 17:13:45 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DABB8963 for ; Tue, 12 Nov 2013 17:13:45 +0000 (UTC) Received: from mail-s68.mailgun.info (mail-s68.mailgun.info [184.173.153.196]) by mx1.freebsd.org (Postfix) with ESMTP id 856BE2DB9 for ; Tue, 12 Nov 2013 17:13:45 +0000 (UTC) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=miator.net; q=dns/txt; s=krs; t=1384276419; h=Mime-Version: In-Reply-To: References: Date: Message-Id: Subject: From: To: Cc: Content-Type: Sender; bh=5XZCEReQHIwe3sinm6ljqE0YLd5DX2mkhjKrtng5V7Y=; b=C20P3Vk8z761kc++GFrQeeV7WDjDrreGrPBQdMhicKI6pIGTm/NZ6a4sifU7JCVg5yGUO5XO LZ+eSJ2DShKcHgjzW16nUU4ZaktPFPrbl1FhyEpASqyEpu+mntcpY+9Rm9yxXKifKXyJ2oJC eslqvid15JnhqXD7MAvcUr/J/h0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=miator.net; s=krs; q=dns; h=Mime-Version: In-Reply-To: References: Date: Message-Id: Subject: From: To: Cc: Content-Type: Sender; b=b8SIbCKAk4aLQXs8Caj3mOn/xdHH3rJhglBAGwj13LG01kPAhtF/e8ZEBfSXCw/mgRNfHc 2xw7uDu4ltTYsAgs20ww4hVKEJeSiGvDt7yoUiyYTSXUfwnlBsWxRF1ytMCxGfueEt2dxGQs av9sXX6jV+seRg5U6xUIv+24urvJ8= Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mxa.mailgun.org with ESMTP id 528261c3.577b9b0-in2; Tue, 12 Nov 2013 17:13:39 -0000 (UTC) Received: by mail-vb0-f46.google.com with SMTP id 10so4378255vbe.5 for ; Tue, 12 Nov 2013 09:13:38 -0800 (PST) X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5XZCEReQHIwe3sinm6ljqE0YLd5DX2mkhjKrtng5V7Y=; b=KLjG8rYzZa6zCtbdMaR83hL9ZPQ03slBr+8h/LWKVXMNNC3GyAvJjNWaJNfcslir6N aN6E32Io0/IYqswjKT2vqkVWhmxjucmjztxF4IXJ9+hBMYDPE8ZNWJymgcwfnIaw7a2Q ljh+5/DdkUF9xCFYR1AtwzqVwiNQXfJR8LzW12CXcg4CofIa1F6hRu1NsmEx5Fnk02Mv 4sDLC769oDm47uvqaPQ3Gt0PRfOTmMC3zA0uXuRhx/ZPYYtUDymiLqN61ZW2+QOjWdVz UcFyQPwA0whCO+K4TRGGexPyZGJAo3/je39mLUlLBYNwlzHY5KERqiH3QxvPeqlfLipG MQNQ== Mime-Version: 1.0 X-Received: by 10.220.86.69 with SMTP id r5mr29934105vcl.9.1384276418568; Tue, 12 Nov 2013 09:13:38 -0800 (PST) Received: by 10.221.0.145 with HTTP; Tue, 12 Nov 2013 09:13:38 -0800 (PST) In-Reply-To: <20131112165422.GA2939@troutmask.apl.washington.edu> References: <20131112163219.GA2834@troutmask.apl.washington.edu> <77CB2B92-216A-4C80-B033-7E582B5F0DFC@FreeBSD.org> <20131112165422.GA2939@troutmask.apl.washington.edu> Date: Tue, 12 Nov 2013 12:13:38 -0500 Message-Id: Subject: Re: Are clang++ and libc++ compatible? From: Zhihao Yuan To: Steve Kargl Content-Type: text/plain; charset="UTF-8" X-Mailgun-Sid: WyJmNmI2MCIsICJmcmVlYnNkLWN1cnJlbnRAZnJlZWJzZC5vcmciLCAiNjkxMTAiXQ== Sender: zy@miator.net X-Mailman-Approved-At: Tue, 12 Nov 2013 20:09:11 +0000 Cc: FreeBSD current , David Chisnall X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2013 17:13:45 -0000 On Tue, Nov 12, 2013 at 11:54 AM, Steve Kargl wrote: > struct Entry { > time_t date; > Severity severity; > std::deque messages; > std::string message; > bool is_child; > Entry() : is_child(false) { } > }; This is a libc++ QoI issue; T should not be required to be compete at the instantiation time of the class template itself. I'll forward this message to libc++. BTW, iirc VC STL has the same issue. But libstdc++ has an honorable history of supporting incomplete type in STL declaration. -- Zhihao Yuan, ID lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/