You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Enforces the requirement that a class is not fully defined.
455
+
/// This can be used to reduce include coupling and keep compile times low.
456
+
/// The check must be made at the top of the corresponding .cpp file of a header.
457
+
#defineSTATIC_ASSERT_INCOMPLETE_CLASS(m_type) \
458
+
classm_type; \
459
+
static_assert(!is_fully_defined_v<m_type>, #m_type " was unexpectedly fully defined. Please check the include hierarchy of '" __FILE__ "' and remove includes that resolve the class.");
0 commit comments