libpniio
Macros
include/pni/io/deprecation_warning.hpp File Reference
#include <boost/current_function.hpp>

Go to the source code of this file.

Macros

#define REMOVE_FUNCTION(sig)
 
#define REPLACE_FUNCTION(oldsig, newsig)
 

Macro Definition Documentation

#define REMOVE_FUNCTION (   sig)
Value:
std::cerr<<"Function "<<sig<<" is deprecated and will be removed";\
std::cerr<<" in a future release!"<<std::endl
#define REPLACE_FUNCTION (   oldsig,
  newsig 
)
Value:
REMOVE_FUNCTION(oldsig);\
std::cerr<<"Use "<<newsig<<" instread!"<<sdt::endl;
#define REMOVE_FUNCTION(sig)
Definition: include/pni/io/deprecation_warning.hpp:29