Quellcode durchsuchen

Help: Add note about #pragma once

Kyle Edwards vor 5 Jahren
Ursprung
Commit
5585e8575b
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      Help/dev/source.rst

+ 3 - 0
Help/dev/source.rst

@@ -158,6 +158,9 @@ These are:
   * ``cm::is_unique_ptr``:
     Checks if a type is a ``std::unique_ptr`` type.
 
+CMake assumes the compiler supports ``#pragma once``. Use this for all
+hand-written header files.
+
 Dynamic Memory Management
 =========================