zengine-old/engine/3rdparty/zlib/include/meta/stl_hack.h

8 lines
344 B
C
Raw Permalink Normal View History

2024-06-16 22:52:45 +08:00
#pragma once
#include <type_traits>
//Do this in global namespace after everything is defined.
#define MARK_NON_COPY_CTORABLE(fully_qualified_type_name) \
namespace meta \
{ \
template<> struct is_copy_constructible<fully_qualified_type_name> : false_type{}; \
}