Преглед изворни кода

Add type_erasure to release

[SVN r84399]
Steven Watanabe пре 13 година
родитељ
комит
d51b75e7fb
8 измењених фајлова са 44 додато и 0 уклоњено
  1. 4 0
      .gitmodules
  2. 2 0
      doc/Jamfile.v2
  3. 2 0
      doc/src/boost.xml
  4. 4 0
      libs/libraries.htm
  5. 1 0
      libs/maintainers.txt
  6. 1 0
      libs/type_erasure
  7. 1 0
      status/Jamfile.v2
  8. 29 0
      status/explicit-failures-markup.xml

+ 4 - 0
.gitmodules

@@ -438,6 +438,10 @@
 	path = libs/context
 	url = ../context.git
 	fetchRecurseSubmodules = on-demand
+[submodule "type_erasure"]
+	path = libs/type_erasure
+	url = ../type_erasure.git
+	fetchRecurseSubmodules = on-demand
 [submodule "multiprecision"]
 	path = libs/multiprecision
 	url = ../multiprecision.git

+ 2 - 0
doc/Jamfile.v2

@@ -82,6 +82,7 @@ boostbook doc
     <dependency>../libs/lockfree/doc//autodoc.xml
     <dependency>../libs/lockfree/doc//lockfree
     <dependency>../libs/atomic/doc//atomic
+    <dependency>../libs/type_erasure/doc//type_erasure
 
     ## Add path references to the QuickBook generated docs...
 
@@ -114,6 +115,7 @@ boostbook doc
     <implicit-dependency>../libs/heap/doc//heap
     <implicit-dependency>../libs/lockfree/doc//lockfree
     <implicit-dependency>../libs/atomic/doc//atomic
+    <implicit-dependency>../libs/type_erasure/doc//type_erasure
 
     <xsl:param>boost.libraries=../../libs/libraries.htm
 

+ 2 - 0
doc/src/boost.xml

@@ -694,6 +694,8 @@
        <librarycategory name="category:data-structures"/>
      </libraryinfo>
    </library>
+    
+   <xi:include href="type_erasure.xml"/>
 
    <library name="Type Traits" dirname="type_traits" html-only="1">
      <libraryinfo>

+ 4 - 0
libs/libraries.htm

@@ -330,6 +330,8 @@ how to download, build, and install the libraries.</p>
     <li><a href="tti/index.html">tti</a> - Type Traits Introspection library, from Edward Diener</li>
     <li><a href="tuple/doc/tuple_users_guide.html">tuple</a> - Ease definition of functions returning multiple values, and more,
     from Jaakko J&auml;rvi.</li>
+    <li><a href="type_erasure/index.html">type_erasure</a> -
+        Runtime polymorphism based on concepts, from Steven Watanabe.</li>
     <li><a href="type_traits/index.html">type_traits</a> -
         Templates for fundamental properties of types, from John
         Maddock, Steve Cleary, et al.</li>
@@ -510,6 +512,8 @@ how to download, build, and install the libraries.</p>
     from Jaakko J&auml;rvi.</li>
     <li><a href="variant/index.html">variant</a> - Safe, generic, stack-based
     discriminated union container, from Eric Friedman and Itay Maman.</li>
+    <li><a href="type_erasure/index.html">type_erasure</a> -
+        Runtime polymorphism based on concepts, from Steven Watanabe.</li>
 </ul>
 
 <h3><a name="Domain">Domain Specific</a></h3>

+ 1 - 0
libs/maintainers.txt

@@ -106,6 +106,7 @@ tokenizer             John R. Bandela <jbandela -at- ufl.edu>
 tr1                   John Maddock <john -at- johnmaddock.co.uk>
 tti                   Edward Diener <eld -at- tropicsoft.com>
 tuple                 Jaakko Jarvi <jarvi -at- cs.tamu.edu>
+type_erasure          Steven Watanabe <steven -at- providere-consulting.com>
 type_traits           John Maddock <john -at- johnmaddock.co.uk>
 typeof                Arkadiy Vertleyb <vertleyb -at- hotmail.com>, Peder Holt <peder.holt -at- gmail.com>
 units                 Matthias Schabel <boost -at- schabel-family.org>, Steven Watanabe <steven -at- providere-consulting.com>

+ 1 - 0
libs/type_erasure

@@ -0,0 +1 @@
+Subproject commit 1ee4fb423904555b2769d65e8133dee6e4dd257f

+ 1 - 0
status/Jamfile.v2

@@ -153,6 +153,7 @@ run-tests libs :
     tr1/test                    # test-suite tr1
     tti/test                    # test-suite tti
     tuple/test                  # test-suite tuple
+    type_erasure/test           # test-suite type_erasure
     type_traits/test            # test-suite type_traits
     typeof/test                 # test-suite typeof
     units/test                  # test-suite units

+ 29 - 0
status/explicit-failures-markup.xml

@@ -5479,6 +5479,35 @@ This platform doesn't supports Boost.Chrono.
             <toolset name="sunpro-5_3-sunos"/>
         </mark-unusable>
     </library>
+  
+    <!-- type_erasure -->
+    <library name="type_erasure">
+      <mark-unusable>
+        <toolset name="gcc-4.2.1"/>
+        <toolset name="gcc-4.4*"/>
+        <toolset name="gcc-mingw-4.4*"/>
+        <toolset name="darwin-4.2.1"/>
+        <note author="Steven Watanabe" refid="17"/>
+      </mark-unusable>
+      <mark-expected-failures>
+        <test name="test_add"/>
+        <test name="test_add_assign"/>
+        <test name="test_equal"/>
+        <test name="test_less"/>
+        <test name="test_construct"/>
+        <toolset name="msvc-8.0*"/>
+        <note author="Steven Watanabe">
+          SFINAE for the constructors of param doesn't work correctly on this compiler.
+          This affects free functions (including operators) with more than one
+          any argument and overloaded member functions.
+        </note>
+      </mark-expected-failures>
+      <mark-expected-failures reason="?">
+        <test name="test_free"/>
+        <toolset name="msvc-8.0"/>
+        <note>This looks like an instance of MSVC substituting int in a template-id.</note>
+      </mark-expected-failures>
+    </library>
 
     <!-- type_traits -->
     <library name="type_traits">

粤ICP备19079148号