~ubuntu-branches/ubuntu/warty/aqsis/warty

« back to all changes in this revision

Viewing changes to boost/boost/preprocessor/logical/compl.hpp

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:25:04 UTC
  • Revision ID: james.westby@ubuntu.com-20040824072504-zf993vnevvisdsvb
Tags: upstream-0.9.1
ImportĀ upstreamĀ versionĀ 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# /* **************************************************************************
 
2
#  *                                                                          *
 
3
#  *     (C) Copyright Paul Mensonides 2002.  Permission to copy, use,        *
 
4
#  *     modify, sell, and distribute this software is granted provided       *
 
5
#  *     this copyright notice appears in all copies.  This software is       *
 
6
#  *     provided "as is" without express or implied warranty, and with       *
 
7
#  *     no claim at to its suitability for any purpose.                      *
 
8
#  *                                                                          *
 
9
#  ************************************************************************** */
 
10
#
 
11
# /* See http://www.boost.org for most recent version. */
 
12
#
 
13
# ifndef BOOST_PREPROCESSOR_LOGICAL_COMPL_HPP
 
14
# define BOOST_PREPROCESSOR_LOGICAL_COMPL_HPP
 
15
#
 
16
# include <boost/preprocessor/config/config.hpp>
 
17
#
 
18
# /* BOOST_PP_COMPL */
 
19
#
 
20
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
 
21
#    define BOOST_PP_COMPL(x) BOOST_PP_COMPL_I(x)
 
22
# else
 
23
#    define BOOST_PP_COMPL(x) BOOST_PP_COMPL_OO((x))
 
24
#    define BOOST_PP_COMPL_OO(par) BOOST_PP_COMPL_I ## par
 
25
# endif
 
26
#
 
27
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
 
28
#    define BOOST_PP_COMPL_I(x) BOOST_PP_COMPL_ ## x
 
29
# else
 
30
#    define BOOST_PP_COMPL_I(x) BOOST_PP_COMPL_ID(BOOST_PP_COMPL_ ## x)
 
31
#    define BOOST_PP_COMPL_ID(id) id
 
32
# endif
 
33
#
 
34
# define BOOST_PP_COMPL_0 1
 
35
# define BOOST_PP_COMPL_1 0
 
36
#
 
37
# endif