Fork me on GitHub

source: git/external/fastjet/internal/deprecated.hh@ ededa33

ImprovedOutputFile Timing
Last change on this file since ededa33 was b7b836a, checked in by Pavel Demin <pavel-demin@…>, 7 years ago

update FastJet library to 3.3.1 and FastJet Contrib library to 1.036

  • Property mode set to 100644
File size: 2.2 KB
Line 
1
2//FJSTARTHEADER
3// $Id: deprecated.hh 4354 2018-04-22 07:12:37Z salam $
4//
5// Copyright (c) 2005-2018, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
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
37#ifndef SWIG
38
39// define a deprecation macro based on the capabilities of the compiler
40// (as determined at configure time).
41#if defined(FASTJET_HAVE_CXX14_DEPRECATED) and (!defined(__FJCORE__))
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
52#else // SIWG
53#define FASTJET_DEPRECATED
54#define FASTJET_DEPRECATED_MSG(message)
55#endif // SWIG
56
57
58#endif // __FASTJET_FASTJET_DEPRECATED_HH__
Note: See TracBrowser for help on using the repository browser.