8#ifndef INCLUDED_ORCUS_GLOBAL_HPP
9#define INCLUDED_ORCUS_GLOBAL_HPP
17#define ORCUS_ASCII(literal) literal, sizeof(literal)-1
18#define ORCUS_N_ELEMENTS(name) sizeof(name)/sizeof(name[0])
24ORCUS_DLLPUBLIC
void print_element(xmlns_id_t ns, xml_token_t name);
29ORCUS_DLLPUBLIC
void print_attrs(
const tokens& tokens,
const xml_attrs_t& attrs);
43ORCUS_DLLPUBLIC date_time_t to_date_time(
const pstring& str);
52 void operator() (
typename T::value_type& v)
58template<
typename T,
typename ...Args>
59std::unique_ptr<T> make_unique(Args&& ...args)
61 return std::unique_ptr<T>(
new T(std::forward<Args>(args)...));
Definition: global.hpp:51