18#ifndef LOG4CXX_SINGLETON_HOLDER_H
19#define LOG4CXX_SINGLETON_HOLDER_H
37 LogString getName()
const override {
return LOG4CXX_STR(
"SingletonHolder"); }
47 template <
typename Arg0,
typename ... Args
48 ,
typename =
typename std::enable_if<!std::is_same<typename std::decay<Arg0>::type,
SingletonHolder>::value>::type
51 : m_data(arg0, std::forward<Args>(args) ... )
base class for java-like objects.
Definition object.h:106
Wraps any singleton object so it can be added to APRInitializer.
Definition singletonholder.h:32
const helpers::Class & getClass() const override
Definition singletonholder.h:40
SingletonHolder()
Definition singletonholder.h:46
SingletonHolder(const SingletonHolder &)=delete
SingletonHolder(Arg0 arg0, Args &&... args)
Definition singletonholder.h:50
T & value()
Definition singletonholder.h:58
SingletonHolder(SingletonHolder &&)=delete
std::basic_string< logchar > LogString
Definition logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition object.h:152
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:146