00001 00002 // The Loki Library 00003 // Copyright (c) 2001 by Andrei Alexandrescu 00004 // This code accompanies the book: 00005 // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design 00006 // Patterns Applied". Copyright (c) 2001. Addison-Wesley. 00007 // Permission to use, copy, modify, distribute and sell this software for any 00008 // purpose is hereby granted without fee, provided that the above copyright 00009 // notice appear in all copies and that both that copyright notice and this 00010 // permission notice appear in supporting documentation. 00011 // The author or Addison-Wesley Longman make no representations about the 00012 // suitability of this software for any purpose. It is provided "as is" 00013 // without express or implied warranty. 00015 #ifndef LOKI_NULLTYPE_INC_ 00016 #define LOKI_NULLTYPE_INC_ 00017 00018 // $Id: NullType.h 751 2006-10-17 19:50:37Z syntheticpp $ 00019 00020 00021 namespace Loki 00022 { 00024 // class NullType 00025 // Used as a placeholder for "no type here" 00026 // Useful as an end marker in typelists 00028 00029 class NullType {}; 00030 00031 } // namespace Loki 00032 00033 00034 #endif // end file guardian