Przeglądaj źródła

Help: Clarify size_t usage in cmake-developer.7

Robert Maynard 11 lat temu
rodzic
commit
cff33e03e9
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      Help/manual/cmake-developer.7.rst

+ 2 - 2
Help/manual/cmake-developer.7.rst

@@ -188,8 +188,8 @@ size_t
 
 
 Various implementations have differing implementation of ``size_t``.  When
 Various implementations have differing implementation of ``size_t``.  When
 assigning the result of ``.size()`` on a container for example, the result
 assigning the result of ``.size()`` on a container for example, the result
-should not be assigned to an ``unsigned int`` or similar. ``std::size_t`` must
-not be used.
+should be assigned to ``size_t`` not to ``std::size_t``, ``unsigned int`` or
+similar types.
 
 
 Templates
 Templates
 ---------
 ---------