GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cpp-tutor/learnmoderncpp-articles: Sample code from blog posts on learnmoderncpp.com

BranchesTags
Open more actions menu

Latest commit

 

History

98 Commits
98 Commits

Folders and files

NameName
Last commit message
Last commit date
any-vs-variant
any-vs-variant
 
 
case-string
case-string
 
 
class-design
class-design
 
 
concepts
concepts
 
 
concurrency
concurrency
 
 
consteval
consteval
 
 
coroutine
coroutine
 
 
cpp-assert
cpp-assert
 
 
cpp-lambdas
cpp-lambdas
 
 
cpp-ranges
cpp-ranges
 
 
deducing-this
deducing-this
 
 
expected
expected
 
 
expression-eval
expression-eval
 
 
faster-algorithms
faster-algorithms
 
 
flat_map
flat_map
 
 
fold-expressions
fold-expressions
 
 
function-runtime
function-runtime
 
 
function-selection
function-selection
 
 
functional
functional
 
 
generic-class
generic-class
 
 
generic-input
generic-input
 
 
iterator
iterator
 
 
kotlin-cpp
kotlin-cpp
 
 
lambdas-delayed
lambdas-delayed
 
 
lock-streams
lock-streams
 
 
modern-visitor
modern-visitor
 
 
move-semantics
move-semantics
 
 
new-namespace
new-namespace
 
 
numbers-as-words
numbers-as-words
 
 
one-liner
one-liner
 
 
operator-overloading
operator-overloading
 
 
primes-class
primes-class
 
 
printf-to-string
printf-to-string
 
 
pyrange
pyrange
 
 
reference-classes
reference-classes
 
 
regex-graphviz
regex-graphviz
 
 
serialization
serialization
 
 
source-location
source-location
 
 
template-primer
template-primer
 
 
traitspolicy
traitspolicy
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

learnmoderncpp-articles

Sample code from blog posts at https://learnmoderncpp.com

  • numbers-as-words Numbers to English words

  • printf-to-string printf() to a std::string

  • pyrange Python's range() in 20 lines of C++

  • cpp-assert Writing assert() in C++

  • case-string String literals as switch/case labels

  • new-namespace Creating namespaces from namespaces

  • one-liner A handy C++ one-liner

  • any-vs-variant std::any vs. std::variant

  • primes-class A Prime Number calculator using a Template Class

  • expression-eval Evaluating expressions using Reverse Polish Notation

  • reference-classes Reference semantics for C++ classes

  • lock-streams Locking C++ streams for multi-threaded code

  • template-primer Templates in C++ primer

  • fold-expressions C++ folding expressions

  • kotlin-cpp Calling C++ code from Kotlin

  • cpp-ranges What future for C++? and also Modern C++ Ranges (TS/20/v3), STL 2.0 or hype?

  • cpp-lambdas C++ Lambdas Primer

  • coroutine C++ Coroutines Primer

  • source-location Modern C++ flow diagnostic tools

  • iterator C++ Iterators Primer

  • consteval Know 'constexpr'? Here's 'consteval', 'constinit'

  • modern-visitor Visitor Pattern in Modern C++

  • deducing-this Applications of C++23's deducing 'this'

  • class-design A Modern C++ class designer's toolkit

  • generic-class Generic classes in Modern C++

  • serialization Designing Classes for Serialization

  • functional Applying Functional Programming Techniques to Modern C++

  • traitspolicy Designing Traits and Policy Classes

  • concepts Concepts 101

  • function-selection Selecting Functions at Compile Time

  • expected Signaling error conditions without exceptions

  • function-runtime Selecting Functions at Runtime

  • flat_map Exploring C++23's flat_map

  • lambdas-delayed Using Lambda Functions for Delayed Evaluation

  • regex-graphviz Uses of Parser Generators

  • faster-algorithms Making algorithms faster

  • concurrency C++ Concurrency 101

  • operator-overloading Operator Overloading in Modern C++

  • move-semantics Move Semantics in Modern C++

About

Sample code from blog posts on learnmoderncpp.com

learnmoderncpp.com

Topics

cpp17cpp20cpp23example-codemodern-cppweblog

Resources

Readme
MIT license
Activity

Stars

17 stars

Watchers

3 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.