Sfoglia il codice sorgente

Merge topic 'clarify_size_t_docs'

cff33e03 Help: Clarify size_t usage in cmake-developer.7
Brad King 11 anni fa
parent
commit
c5fdca7c17
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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
 ---------
 ---------