/* */ #ifndef D_NULL_HANDLE_H #define D_NULL_HANDLE_H #include "SharedHandle.h" namespace aria2 { // Returns const reference of SharedHandle(). Static variable null // is shared by all instantiation of this function template. template const SharedHandle& getNull() { static SharedHandle null; return null; } } // namespace aria2 #endif // D_NULL_HANDLE_H