Merge topic 'clarify_size_t_docs'
cff33e03
Help: Clarify size_t usage in cmake-developer.7
This commit is contained in:
commit
c5fdca7c17
|
@ -188,8 +188,8 @@ size_t
|
|||
|
||||
Various implementations have differing implementation of ``size_t``. When
|
||||
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
|
||||
---------
|
||||
|
|
Loading…
Reference in New Issue