Dune Core Modules (2.4.1)

deprecated.hh
Go to the documentation of this file.
1// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2// vi: set et ts=4 sw=2 sts=2:
3#ifndef DUNE_DEPRECATED_HH
4#define DUNE_DEPRECATED_HH
5
13#if defined(DOXYGEN) || !defined(HAS_ATTRIBUTE_DEPRECATED)
15
84#define DUNE_DEPRECATED
85#else // defined(HAS_ATTRIBUTE_DEPRECATED)
86#define DUNE_DEPRECATED __attribute__((deprecated))
87#endif
88
89#if defined(DOXYGEN) || !defined(HAS_ATTRIBUTE_DEPRECATED_MSG)
91
169#define DUNE_DEPRECATED_MSG(text) DUNE_DEPRECATED
170#else // defined(HAS_ATTRIBUTE_DEPRECATED_MSG)
171#define DUNE_DEPRECATED_MSG(text) __attribute__((deprecated(# text)))
172#endif
173
175
176#endif
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)