Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 95949 invoked from network); 8 Mar 2006 17:48:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Mar 2006 17:48:51 -0000 Received: (qmail 8025 invoked by uid 500); 8 Mar 2006 17:48:51 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 7983 invoked by uid 500); 8 Mar 2006 17:48:51 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 7958 invoked by uid 500); 8 Mar 2006 17:48:50 -0000 Delivered-To: apmail-incubator-stdcxx-cvs@incubator.apache.org Received: (qmail 7954 invoked by uid 99); 8 Mar 2006 17:48:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 09:48:50 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 08 Mar 2006 09:48:50 -0800 Received: (qmail 95752 invoked by uid 65534); 8 Mar 2006 17:48:29 -0000 Message-ID: <20060308174829.95751.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384279 - /incubator/stdcxx/trunk/include/rw/_defs.h Date: Wed, 08 Mar 2006 17:48:29 -0000 To: stdcxx-cvs@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sebor Date: Wed Mar 8 09:48:26 2006 New Revision: 384279 URL: http://svn.apache.org/viewcvs?rev=384279&view=rev Log: 2006-03-08 Martin Sebor * _defs.h (_RWSTD_NO_IMPLICIT_INSTANTIATION): Handled in a conditional. Added comments. Modified: incubator/stdcxx/trunk/include/rw/_defs.h Modified: incubator/stdcxx/trunk/include/rw/_defs.h URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/rw/_defs.h?rev=384279&r1=384278&r2=384279&view=diff ============================================================================== --- incubator/stdcxx/trunk/include/rw/_defs.h (original) +++ incubator/stdcxx/trunk/include/rw/_defs.h Wed Mar 8 09:48:26 2006 @@ -1451,7 +1451,12 @@ # define _RWSTD_DEFINE_TEMPLATE_LAST(ignore) 0 # endif # elif !defined (_RWSTD_NO_EXPLICIT_INSTANTIATION) \ + && !defined (_RWSTD_NO_IMPLICIT_INSTANTIATION) \ && !defined (_RWSTD_NO_EXPLICIT_INSTANTIATION_WITH_IMPLICIT_INCLUSION) + // this block is active when compiling (as opposed to using) + // the library headers and sources and implicit inclusion + // is being emulated + # define _RWSTD_DEFINE_TEMPLATE(name) _RWSTD_INSTANTIATE ## name # ifndef _RWSTD_NO_EXPLICIT_INSTANTIATION_BEFORE_DEFINITION # define _RWSTD_DEFINE_TEMPLATE_FIRST(ignore) 0 @@ -1461,6 +1466,10 @@ # define _RWSTD_DEFINE_TEMPLATE_LAST(ignore) 0 # endif // _RWSTD_NO_EXPLICIT_INSTANTIATION_BEFORE_DEFINITION # else // if no explicit instantiation (or with implicit inclusion) + // this block is active when compiling (as opposed to using) + // the library headers and sources and implicit inclusion is + // not being emulated + # define _RWSTD_DEFINE_TEMPLATE(ignore) 1 # ifndef _RWSTD_NO_EXPLICIT_INSTANTIATION_BEFORE_DEFINITION # define _RWSTD_DEFINE_TEMPLATE_FIRST(ignore) 0 @@ -1472,7 +1481,7 @@ # endif // explicit instantiation (with implicit inclusion) #else # ifndef _RWSTD_NO_EXPLICIT_INSTANTIATION_WITH_IMPLICIT_INCLUSION - // when implicit inclusion is enabled or being emmulated, + // when implicit inclusion is enabled or being emulated, // prevent out-of line non-member template functions or // out-of-line member functions of class templates (i.e., // those defined in .c and .cc files) from being #included