#pragma once #include "intrusive_ptr.h" namespace NYT { //////////////////////////////////////////////////////////////////////////////// #define DECLARE_LEAKY_REF_COUNTED_SINGLETON_FRIEND() \ template \ friend struct ::NYT::TRefCountedWrapper; template TIntrusivePtr LeakyRefCountedSingleton(TArgs&&... args); //////////////////////////////////////////////////////////////////////////////// } // namespace NYT #define LEAKY_REF_COUNTED_SINGLETON_INL_H_ #include "leaky_ref_counted_singleton-inl.h" #undef LEAKY_REF_COUNTED_SINGLETON_INL_H_