Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Type/Literals/CustomLiterals

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

You can now define your own custom syntax for literals of the form prefix_suffix. After programming int operator"" _meter(), you can use 123_meter in any situation where you used to program with an ordinary numeral. Additional information about custom literals (includes interactive examples)