Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 80356 invoked from network); 11 Jun 2008 18:36:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2008 18:36:35 -0000 Received: (qmail 33736 invoked by uid 500); 11 Jun 2008 18:36:37 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 33675 invoked by uid 500); 11 Jun 2008 18:36:37 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 33664 invoked by uid 99); 11 Jun 2008 18:36:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 11:36:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.roguewave.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 18:35:48 +0000 Received: from exchmail01.Blue.Roguewave.Com (exchmail01.blue.roguewave.com [10.22.129.22]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id m5BIY4xU028885 for ; Wed, 11 Jun 2008 18:34:04 GMT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: static_assert config check Date: Wed, 11 Jun 2008 12:33:53 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: static_assert config check Thread-Index: AcjL8bxDRSpqb213T6mumyWcx5PJvQ== From: "Eric Lemings" To: X-Virus-Checked: Checked by ClamAV on apache.org How's this for a suitable configuration check for static_assert? // compile-only test static_assert (sizeof (char) =3D=3D 1, "impossible"); template struct S { static_assert (I >=3D 0, "template parameter I must be non-negative"); }; Brad.