X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fpreprocessor.hh;h=915f9be2cfedf03824166625c3d6215a13e54f02;hb=fd3a0e8ac95d1158e9ea661ddf9187b67c70169f;hp=c51605a3129d2be53a8bcf6507ff634291970e2b;hpb=9ff976ea47b175355a1f7ef4d05f14edb98a82e4;p=senf.git diff --git a/Utils/preprocessor.hh b/Utils/preprocessor.hh index c51605a..915f9be 100644 --- a/Utils/preprocessor.hh +++ b/Utils/preprocessor.hh @@ -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 @@ -23,8 +23,8 @@ /** \file \brief preprocessor public header */ -#ifndef HH_preprocessor_ -#define HH_preprocessor_ 1 +#ifndef HH_SENF_Utils_preprocessor_ +#define HH_SENF_Utils_preprocessor_ 1 // Custom includes #include @@ -34,8 +34,21 @@ //#include "preprocessor.mpp" ///////////////////////////////hh.p//////////////////////////////////////// +/** \defgroup senfpp Preprocessor meta programming + + preprocessor.hh provides some additional helper macros based on the Boost.Preprocessor library. + */ + +///\{ +///\ingroup senfpp + +/** \brief Return last element of a sequence + \hideinitializer + */ #define SENF_PP_SEQ_BACK(seq) BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(seq)),seq) +///\} + ///////////////////////////////hh.e//////////////////////////////////////// //#include "preprocessor.cci" //#include "preprocessor.ct"