25 #if !defined (_RLD_H_)
36 #define RLD_PATH_SEPARATOR '\\'
37 #define RLD_PATHSTR_SEPARATOR ';'
38 #define RLD_PATHSTR_SEPARATOR_STR ";"
39 #define RLD_DRIVE_SEPARATOR (1)
41 #define RLD_PATH_SEPARATOR '/'
42 #define RLD_PATHSTR_SEPARATOR ':'
43 #define RLD_PATHSTR_SEPARATOR_STR ":"
44 #define RLD_DRIVE_SEPARATOR (0)
69 #define RLD_VERBOSE_OFF (0)
70 #define RLD_VERBOSE_INFO (1)
71 #define RLD_VERBOSE_DETAILS (2)
72 #define RLD_VERBOSE_TRACE (3)
73 #define RLD_VERBOSE_TRACE_SYMS (4)
74 #define RLD_VERBOSE_TRACE_FILE (5)
75 #define RLD_VERBOSE_FULL_DEBUG (6)
83 std::string
to_string (T t, std::ios_base & (*f)(std::ios_base&) = std::dec)
85 std::ostringstream oss;
99 what (what.str ()), where (where) {
103 what (what), where (where) {
110 #define rld_error_at(_what) \
111 rld::error (_what, std::string (__FILE__) + ":" + to_string (__LINE__))
142 void split (
const std::string& str,
strings& strs,
char separator);