Course C++ Part 19: Templates, C++20 Concepts, and Metaprogramming
Course Description
This lesson delves into the advanced topics of templates, C++20 concepts, and metaprogramming, helping you write more dynamic and reusable code.
Course Curriculum
- 001. Lesson 19 Overview Stream IO & C++20 Text formatting
- 002. Streams
- 003. Stream Output Output of char Variables
- 004. Using Member Functions eof, get and put
- 005. Comparing cin and cin.get
- 006. Using Member Function getline
- 007. istream Member Functions peek, putback and ignore
- 008. Unformatted IO Using read, write and gcount
- 009. Integral Stream Base (dec, oct, hex and setbase)
- 010. Floating-Point Precision (setprecision, precision)
- 011. width Member Funsion of Classes istream and ostream
- Trailing Zeros and Decimal Points (showpoint)
- Left and Right Alignment with Stream Manipulators left and right
- Printing an Integer with Internal Spacing and Plus Sign
- Padding (fill, setfill)
- Integral Stream Base (dec, oct, hex, showbase)
- Floating-Point Numbers; Scientific and Fixed Notation (scientific, fixed)
- UppercaseLowercase Control (uppercase)
- Specifying Boolean Format (boolalpha)
- Setting and Resetting the Format State via Member Function flags
- Stream Error States
- Tying an Output Stream to an Input Stream
- C++20 stdformat Presentation Types
- C++20 stdformat Field Widths and Alignment
- C++20 stdformat Numeric Formatting
- C++20 stdformat Field Width and Precision Placeholders