Wouldn't it be great to write easy-to-read code that your compiler loves?

Templates help you to generate clean code. Discover essential tips and tricks on how to use them in my latest book:

Paper: https://amazon.com/dp/3949323074
E-book: https://fertig.to/btmpl

#cpp11 #programming #book #cplusplus

constexpr all the things! Since the evaluation of a constant expression never results in an erroneous behavior (EB, C++26)! (But use constexpr since C++11)

This was mentioned by many at the conference, not to forget: @DanielaKEngert, Mikhail Svetkin, and others.

@meetingcpp #cpp #cpp26 #cpp11 #meetingcpp #dev #undefined_behavior #ub #erroneous_behavior #eb

Released v1.0.0 of bit-lite.

It now supports C++23 byteswap().

A somewhat less frivolous message than in the blue skies :)

#cpp #cpp98 #cpp11 #cpp20 #cpp23

https://github.com/martinmoene/bit-lite/releases/tag/v1.0.0

Release 1.0.0 ยท martinmoene/bit-lite

Release 1.0.0 of bit lite adds C++23 byteswap(). To be expanded. Additions: Changes: Fixes:

GitHub

Finally introduced a converting constructor for C++11 in my take of (nonstd) variant with its idiosyncratic typelist to support C++98.

Hope to release v3.0.0 'really soon'.

Back to the future or something :)

#cpp #cpp98 #cpp11 #cpp17

https://github.com/martinmoene/variant-lite

GitHub - martinmoene/variant-lite: variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library.

variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library. - martinmoene/variant-lite

GitHub

Released v0.0.0 of string algorithm library string-lite, formerly string-bare.

#cpp #cpp11

https://github.com/martinmoene/string-lite

GitHub - martinmoene/string-lite: C++ string algorithm library. Note: renamed from string-bare.

C++ string algorithm library. Note: renamed from string-bare. - martinmoene/string-lite

GitHub

I built Archetype, a C++11 header-only library that gives you type-erased views over any object implementing a given interface โ€” all verified with SFINAE at compile time.

Useful for embedded, plugin architectures, and clean modular APIs.

๐Ÿ“ฆ https://github.com/williamhaarhoff/archetype

#cplusplus #cpp11 #typeerasure #embedded #headeronly #opensource

GitHub - williamhaarhoff/archetype: Type-erased, concept-driven interfaces in C++11

Type-erased, concept-driven interfaces in C++11. Contribute to williamhaarhoff/archetype development by creating an account on GitHub.

GitHub

Did I just hand-write an implementation of #cpp23 std::expected for use in #cpp11? Very, very yes.

Is it complete? No. But it is functional enough.

Am I pleased with it? Also very yes!

Will I use it in #ProjectSpecialK? I dunno, maybe. We'll see.

Well this has been an interesting Journey :P
So uh my first C++11 GUI Program using FLTK is finally finished (minus documentation for WIndows and some minor Makefile Stuff)
https://codeberg.org/Retro-Hax/sm64extendGUIPlusPlus
If anyone wants to check it out then uh here yall go :D
#cpp #cpp11 #fltk #programming #gpl #foss
sm64extendGUIPlusPlus

A GUI Frontend for the sm64extend Software by queueRAM

Codeberg.org

Wouldn't it be great to write easy-to-read code that your compiler loves?

Templates help you to generate clean code. Discover essential tips and tricks on how to use them in my latest book:

Paper: https://amazon.com/dp/3949323074
E-book: https://leanpub.com/notebookcpp-tips-and-tricks-with-templates

#cpp11 #programming #book #cplusplus

C++ errrors can seriously go suck a fuck

#RStats #cpp11