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

« back to all changes in this revision

Viewing changes to boost/boost/type_traits/detail/false_result.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
// Copyright David Abrahams 2002. Permission to copy, use,
 
2
// modify, sell and distribute this software is granted provided this
 
3
// copyright notice appears in all copies. This software is provided
 
4
// "as is" without express or implied warranty, and with no claim as
 
5
// to its suitability for any purpose.
 
6
 
 
7
#ifndef BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED
 
8
#define BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED
 
9
 
 
10
#include "boost/config.hpp"
 
11
 
 
12
namespace boost {
 
13
namespace type_traits {
 
14
 
 
15
// Utility class which always "returns" false
 
16
struct false_result
 
17
{
 
18
    template <typename T> struct result_
 
19
    {
 
20
        BOOST_STATIC_CONSTANT(bool, value = false);
 
21
    };
 
22
};
 
23
 
 
24
}} // namespace boost::type_traits
 
25
 
 
26
#endif // BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED