Ver código fonte

Help: Add note about #pragma once

Kyle Edwards 5 anos atrás
pai
commit
5585e8575b
1 arquivos alterados com 3 adições e 0 exclusões
  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
 =========================