5 #ifndef COAL_PYTHON_UTILS_DEPRECATION_H
6 #define COAL_PYTHON_UTILS_DEPRECATION_H
9 #include <boost/python.hpp>
15 template <
class Policy = boost::python::default_call_policies>
20 template <
class ArgumentPackage>
23 return static_cast<const Policy*
>(
this)->
precall(
args);
33 template <
class Policy = boost::python::default_call_policies>
36 "This class member has been marked as deprecated and "
37 "will be removed in a future release.")
41 template <
class Policy = boost::python::default_call_policies>
44 "This function has been marked as deprecated and "
45 "will be removed in a future release.")
52 #endif // ifndef COAL_PYTHON_UTILS_DEPRECATION_H