// $Id$
//
-// Copyright (C) 2006
+// Copyright (C) 2006
// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
///////////////////////////////cc.p////////////////////////////////////////
namespace test {
-
+
struct Base {
virtual ~Base() {}
};
- template <class C, unsigned N>
+ template <class C, int N>
struct Foo : public Base
{};
{
typedef test::Foo< test::Foo<test::Blub, 1>, 10> TestType;
TestType ob;
- // test::Base const & baseOb(ob);
+ test::Base const & baseOb(ob);
- BOOST_CHECK_EQUAL( satcom::lib::prettyName(typeid(int)), "int");
- // The exact representation is compiler version dependent ...
- // BOOST_CHECK_EQUAL( satcom::lib::prettyName(typeid(baseOb)), "test::Foo<test::Foo<test::Blub, 1>, 10>" );
+ BOOST_CHECK_EQUAL( senf::prettyName(typeid(int)), "int");
+ BOOST_CHECK_EQUAL( senf::prettyName(typeid(baseOb)), "test::Foo<test::Foo<test::Blub, 1>, 10>" );
}
///////////////////////////////cc.e////////////////////////////////////////
\f
// Local Variables:
// mode: c++
-// c-file-style: "satcom"
+// fill-column: 100
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
// End: