~ubuntu-branches/ubuntu/wily/tora/wily-proposed

« back to all changes in this revision

Viewing changes to ext/loki/loki-0.1.4/include/loki/EmptyType.h

  • Committer: Bazaar Package Importer
  • Author(s): Albin Tonnerre
  • Date: 2007-05-29 13:13:36 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529131336-85ygaddivvmkd3xc
Tags: 1.3.21pre22-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules: call dh_iconcache
  - Remove g++ build dependency
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
////////////////////////////////////////////////////////////////////////////////
 
2
// The Loki Library
 
3
// Copyright (c) 2001 by Andrei Alexandrescu
 
4
// This code accompanies the book:
 
5
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design 
 
6
//     Patterns Applied". Copyright (c) 2001. Addison-Wesley.
 
7
// Permission to use, copy, modify, distribute and sell this software for any 
 
8
//     purpose is hereby granted without fee, provided that the above copyright 
 
9
//     notice appear in all copies and that both that copyright notice and this 
 
10
//     permission notice appear in supporting documentation.
 
11
// The author or Addison-Wesley Longman make no representations about the 
 
12
//     suitability of this software for any purpose. It is provided "as is" 
 
13
//     without express or implied warranty.
 
14
////////////////////////////////////////////////////////////////////////////////
 
15
 
 
16
// Last update: June 20, 2001
 
17
 
 
18
#ifndef LOKI_EMPTYTYPE_INC_
 
19
#define LOKI_EMPTYTYPE_INC_
 
20
 
 
21
// $Header: /cvsroot/loki-lib/loki/include/loki/EmptyType.h,v 1.3 2006/01/16 19:05:09 rich_sposato Exp $
 
22
 
 
23
namespace Loki
 
24
{
 
25
////////////////////////////////////////////////////////////////////////////////
 
26
// class EmptyType
 
27
// Used as a class type that doesn't hold anything
 
28
// Useful as a strawman class
 
29
////////////////////////////////////////////////////////////////////////////////
 
30
 
 
31
    class EmptyType {};
 
32
}
 
33
 
 
34
////////////////////////////////////////////////////////////////////////////////
 
35
// Change log:
 
36
// June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!!
 
37
////////////////////////////////////////////////////////////////////////////////
 
38
 
 
39
#endif // EMPTYTYPE_INC_
 
40
 
 
41
// $Log: EmptyType.h,v $
 
42
// Revision 1.3  2006/01/16 19:05:09  rich_sposato
 
43
// Added cvs keywords.
 
44
//