|
||||
File indexing completed on 2025-01-18 09:57:15
0001 0002 //FJSTARTHEADER 0003 // $Id$ 0004 // 0005 // Copyright (c) 2005-2021, Matteo Cacciari, Gavin P. Salam and Gregory Soyez 0006 // 0007 //---------------------------------------------------------------------- 0008 // This file is part of FastJet. 0009 // 0010 // FastJet is free software; you can redistribute it and/or modify 0011 // it under the terms of the GNU General Public License as published by 0012 // the Free Software Foundation; either version 2 of the License, or 0013 // (at your option) any later version. 0014 // 0015 // The algorithms that underlie FastJet have required considerable 0016 // development. They are described in the original FastJet paper, 0017 // hep-ph/0512210 and in the manual, arXiv:1111.6097. If you use 0018 // FastJet as part of work towards a scientific publication, please 0019 // quote the version you use and include a citation to the manual and 0020 // optionally also to hep-ph/0512210. 0021 // 0022 // FastJet is distributed in the hope that it will be useful, 0023 // but WITHOUT ANY WARRANTY; without even the implied warranty of 0024 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0025 // GNU General Public License for more details. 0026 // 0027 // You should have received a copy of the GNU General Public License 0028 // along with FastJet. If not, see <http://www.gnu.org/licenses/>. 0029 //---------------------------------------------------------------------- 0030 //FJENDHEADER 0031 0032 #ifndef __FASTJET_FASTJET_DEPRECATED_HH__ 0033 #define __FASTJET_FASTJET_DEPRECATED_HH__ 0034 0035 #include "fastjet/config.h" 0036 0037 #ifndef SWIG 0038 0039 // define a deprecation macro based on the capabilities of the compiler 0040 // (as determined at configure time). 0041 #if defined(FASTJET_HAVE_CXX14_DEPRECATED) && (!defined(__FJCORE__)) 0042 #define FASTJET_DEPRECATED(func) [[deprecated]] func 0043 #define FASTJET_DEPRECATED_MSG(message,func) [[deprecated(message)]] func 0044 #elif defined(FASTJET_HAVE_GNUCXX_DEPRECATED) 0045 #define FASTJET_DEPRECATED(func) func __attribute__((__deprecated__)) 0046 #define FASTJET_DEPRECATED_MSG(message,func) func __attribute__((__deprecated__)) 0047 #else 0048 #define FASTJET_DEPRECATED(func) func 0049 #define FASTJET_DEPRECATED_MSG(message,func) func 0050 #endif 0051 0052 #else // SIWG 0053 #define FASTJET_DEPRECATED(func) func 0054 #define FASTJET_DEPRECATED_MSG(message,func) func 0055 #endif // SWIG 0056 0057 #endif // __FASTJET_FASTJET_DEPRECATED_HH__
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |