X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fmpl.test.cc;h=41a33233bf1ee12eda640a5fc5b0927a77d860d5;hb=a726ae0cb14d0ce37e5aab3c4e07121bbbd3b31c;hp=9e80f68a3e82bd880f05c8d5983a1a204e912abe;hpb=d6abda313f70c8a849c5e3f3bbfc12ce301789f1;p=senf.git diff --git a/Utils/mpl.test.cc b/Utils/mpl.test.cc index 9e80f68..41a3323 100644 --- a/Utils/mpl.test.cc +++ b/Utils/mpl.test.cc @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -36,8 +36,8 @@ ///////////////////////////////cc.p//////////////////////////////////////// namespace { - - template + + template struct select { static bool const has_int_value = false; static bool const has_class_value = false; @@ -62,7 +62,7 @@ namespace { template senf::mpl::rv<2> select_(int, senf::mpl::take_class * = 0); - template + template struct choice : public select(0) )> {}; struct A { static const int value = 0; }; @@ -70,7 +70,7 @@ namespace { struct C {}; } -BOOST_AUTO_UNIT_TEST(senfmpl) +BOOST_AUTO_UNIT_TEST(senfmpl) { BOOST_CHECK( choice::has_int_value ); BOOST_CHECK( ! choice::has_class_value );