Home
Barry's C++ Blog
Cancel

Higher Order Fun

… in C++. That seems like a fundamentally wrong statement to make right? C++ has been greatly improving over the last few standards in its direct support for a more functional style of programming. But it’s still much more verbose than necessary to write a simple lambda, it’s surprisingly tricky...

Quirks in Class Template Argument Deduction

Before C++17, template deduction [basically] worked in two situations: deduction function parameters in function templates and deducing auto for variables/return types in functions. There was no mechanism to deduce template parameters in class templates. The result of that was— whenever you used...

optional<T&> - Yes, we need it

Read it on Medium.

Should Span Be Regular

Read it on Medium.

Non-Ownership and Generic Programming and Regular types, oh my!

Read it on Medium.

Without form and void

Read it on Medium.

Just dropped in to see what condition my condition was in

Read it on Medium.

optional<T> in a possible C++20 future

Read it on Medium.

Chaining Comparisons: Seeking Information from the Audience

Read it on Medium.

optional<bool>: reference or constexpr?

Read it on Medium.