stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r384279 - /incubator/stdcxx/trunk/include/rw/_defs.h
Date Wed, 08 Mar 2006 17:48:29 GMT
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  <sebor@roguewave.com>

	* _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



Mime
View raw message