Fork me on GitHub

source: git/external/fastjet/internal/deprecated.hh@ 5af205e

Last change on this file since 5af205e was cb80e6f, checked in by Pavel Demin <pavel.demin@…>, 4 years ago

update FastJet library to 3.3.4 and FastJet Contrib library to 1.045

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[1d208a2]1
2//FJSTARTHEADER
[cb80e6f]3// $Id: deprecated.hh 4442 2020-05-05 07:50:11Z soyez $
[1d208a2]4//
[cb80e6f]5// Copyright (c) 2005-2020, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
[1d208a2]6//
7//----------------------------------------------------------------------
8// This file is part of FastJet.
9//
10// FastJet is free software; you can redistribute it and/or modify
11// it under the terms of the GNU General Public License as published by
12// the Free Software Foundation; either version 2 of the License, or
13// (at your option) any later version.
14//
15// The algorithms that underlie FastJet have required considerable
16// development. They are described in the original FastJet paper,
17// hep-ph/0512210 and in the manual, arXiv:1111.6097. If you use
18// FastJet as part of work towards a scientific publication, please
19// quote the version you use and include a citation to the manual and
20// optionally also to hep-ph/0512210.
21//
22// FastJet is distributed in the hope that it will be useful,
23// but WITHOUT ANY WARRANTY; without even the implied warranty of
24// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25// GNU General Public License for more details.
26//
27// You should have received a copy of the GNU General Public License
28// along with FastJet. If not, see <http://www.gnu.org/licenses/>.
29//----------------------------------------------------------------------
30//FJENDHEADER
31
32#ifndef __FASTJET_FASTJET_DEPRECATED_HH__
33#define __FASTJET_FASTJET_DEPRECATED_HH__
34
35#include "fastjet/config.h"
36
[b7b836a]37#ifndef SWIG
38
[1d208a2]39// define a deprecation macro based on the capabilities of the compiler
40// (as determined at configure time).
[cb80e6f]41#if defined(FASTJET_HAVE_CXX14_DEPRECATED) && (!defined(__FJCORE__))
[1d208a2]42#define FASTJET_DEPRECATED [[deprecated]]
43#define FASTJET_DEPRECATED_MSG(message) [[deprecated(message)]]
44#elif defined(FASTJET_HAVE_GNUCXX_DEPRECATED)
45#define FASTJET_DEPRECATED __attribute__((__deprecated__))
46#define FASTJET_DEPRECATED_MSG(message) __attribute__((__deprecated__))
47#else
48#define FASTJET_DEPRECATED
49#define FASTJET_DEPRECATED_MSG(message)
50#endif
51
[b7b836a]52#else // SIWG
53#define FASTJET_DEPRECATED
54#define FASTJET_DEPRECATED_MSG(message)
55#endif // SWIG
56
57
[1d208a2]58#endif // __FASTJET_FASTJET_DEPRECATED_HH__
Note: See TracBrowser for help on using the repository browser.