Browse Source

Help: Add note about #pragma once

Kyle Edwards 5 years ago
parent
commit
5585e8575b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Help/dev/source.rst

+ 3 - 0
Help/dev/source.rst

@@ -158,6 +158,9 @@ These are:
   * ``cm::is_unique_ptr``:
   * ``cm::is_unique_ptr``:
     Checks if a type is a ``std::unique_ptr`` type.
     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
 Dynamic Memory Management
 =========================
 =========================