User Tools

Site Tools


c_data_types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
c_data_types [2018/02/03 14:40]
rpjday
c_data_types [2018/02/03 14:41]
rpjday
Line 30: Line 30:
 Deducing a type: Deducing a type:
  
-  * ''​auto''​ +  * ''​auto'' ​for deducing a type of an object from its initializer;​ the type can be the type of a variable, a ''​const'',​ or a ''​constexpr''​. 
-  * ''​decltype()''​+  * ''​decltype(expr)'' ​for deducing the type of something that is not a simple initializer,​ such as the return type for a function or the type of a class member.
c_data_types.txt · Last modified: 2018/02/05 12:57 by rpjday