From 5321492367a92b9279be7fa64071417dd4d95809 Mon Sep 17 00:00:00 2001 From: Keyboard Destroyer <43577127+kbrddestroyer@users.noreply.github.com> Date: Wed, 11 Jun 2025 08:49:14 +0300 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fa15cc5..1548c4d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -143,6 +143,8 @@ namespace MyNamespace { As said above, avoid raw memory allocation in C++ code. Use smart pointers instead. Functions like `malloc`, `calloc`, and `free` are forbidden in C++ code. +Speaking of class layout, [*the rule of zero*](https://en.cppreference.com/w/cpp/language/rule_of_three.html) is preferred + --- If you find code that doesn’t follow these guidelines, [open an issue](https://github.com/kbrddestroyer/AxonEngine/issues/new) with the `refactoring` label.