File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
sources/modules/functions Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1- ## Functions: user-defined literals {#udl}
1+ ## Functions: user-defined literals (UDL) {#udl}
22
33_ Skeleton descriptions are typeset in italic text,_
44_ so please don't remove these descriptions when editing the topic._
@@ -8,6 +8,11 @@ _so please don't remove these descriptions when editing the topic._
88_ Provides a short natural language abstract of the module’s contents._
99_ Specifies the different levels of teaching._
1010
11+ Literals are a way to write values in the code, such as strings and numbers.
12+ User-defined literals (UDL) allow to add a suffix to a string or number to change the meaning.
13+ The suffix selects a function (an operator) that can alter the value and type of the literal.
14+ The C++ library provides certain operators already and a user can add more by providing such operators.
15+
1116-------------------------------------------------------------------------
1217Level Objectives
1318---------------- --------------------------------------------------------
You can’t perform that action at this time.
0 commit comments