| 
                Last change
                  on this file since 45 was
                  29,
                  checked in by landauf, 17 years ago
           | 
        
        
          | 
               
updated boost from 1_33_1 to 1_34_1 
 
           | 
        
        | 
            File size:
            789 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 |  | 
|---|
| 2 | // Copyright Aleksey Gurtovoy 2000-2004 | 
|---|
| 3 | // Copyright David Abrahams 2003-2004 | 
|---|
| 4 | // | 
|---|
| 5 | // Distributed under the Boost Software License, Version 1.0.  | 
|---|
| 6 | // (See accompanying file LICENSE_1_0.txt or copy at  | 
|---|
| 7 | // http://www.boost.org/LICENSE_1_0.txt) | 
|---|
| 8 | // | 
|---|
| 9 | // See http://www.boost.org/libs/mpl for documentation. | 
|---|
| 10 |  | 
|---|
| 11 | // $Source: /cvsroot/boost/boost/libs/mpl/test/replace.cpp,v $ | 
|---|
| 12 | // $Date: 2004/09/02 15:41:35 $ | 
|---|
| 13 | // $Revision: 1.4 $ | 
|---|
| 14 |  | 
|---|
| 15 | #include <boost/mpl/replace.hpp> | 
|---|
| 16 |  | 
|---|
| 17 | #include <boost/mpl/list.hpp> | 
|---|
| 18 | #include <boost/mpl/equal.hpp> | 
|---|
| 19 | #include <boost/mpl/aux_/test.hpp> | 
|---|
| 20 |  | 
|---|
| 21 | MPL_TEST_CASE() | 
|---|
| 22 | { | 
|---|
| 23 |     typedef list<int,float,char,float,float,double> types; | 
|---|
| 24 |     typedef replace< types,float,double >::type result; | 
|---|
| 25 |     typedef list<int,double,char,double,double,double> answer; | 
|---|
| 26 |     MPL_ASSERT(( equal< result,answer > )); | 
|---|
| 27 | } | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.