Selaa lähdekoodia

Help: Add note about #pragma once

Kyle Edwards 5 vuotta sitten
vanhempi
sitoutus
5585e8575b
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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
 =========================