18#ifndef CUPT_COMMON_SEEN
19#define CUPT_COMMON_SEEN
22#define CUPT_API __attribute__ ((visibility("default")))
23#define CUPT_LOCAL __attribute__ ((visibility("hidden")))
56 : std::runtime_error(message)
63 : std::runtime_error(message)
70using std::static_pointer_cast;
71using std::dynamic_pointer_cast;
79CUPT_API
extern int messageFd;
83CUPT_API
string humanReadableSizeString(uint64_t bytes);
84CUPT_API
string globToRegexString(
const string&);
92CUPT_API
const char*
__(
const char* message);
96#include <cupt/format2.hpp>
Exception(const char *message)
constructor
Definition common.hpp:55
Exception(const string &message)
constructor
Definition common.hpp:62
const char *const libraryVersion
the version of Cupt library
const char * __(const char *message)
localizes message