PPI: Checkin of first compiling (yet not working) version
[senf.git] / Utils / IteratorTraits.test.cc
index 6687d8e..ddfe60e 100644 (file)
@@ -1,3 +1,5 @@
+// $Id$
+//
 // Copyright (C) 2007 
 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
 // Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
@@ -38,6 +40,7 @@
 BOOST_AUTO_UNIT_TEST(iteratorTraits)
 {
     BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator<int*>::value, true );
+    BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator<void>::value, false );
 #ifdef __GNUG__
     BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator<std::vector<int>::iterator>::value, true);
     BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator<std::string::iterator>::value, true);
@@ -54,4 +57,6 @@ BOOST_AUTO_UNIT_TEST(iteratorTraits)
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End: