File tree 1 file changed +6
-1
lines changed
sources/modules/functions
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}
2
2
3
3
_ Skeleton descriptions are typeset in italic text,_
4
4
_ 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._
8
8
_ Provides a short natural language abstract of the module’s contents._
9
9
_ Specifies the different levels of teaching._
10
10
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
+
11
16
-------------------------------------------------------------------------
12
17
Level Objectives
13
18
---------------- --------------------------------------------------------
You can’t perform that action at this time.
0 commit comments