A maybe type for C++
Here’s an idea I had for a useful C++ class that adds a little syntactic sugar to null pointer checking.
https://lzon.ca/posts/tips/cpp-maybe-type/
#IndieWeb #PersonalWeb #Blog #TechTips #Programming #Cpp #CPlusPlus
I'm Lzon, and this is the official account for my personal site, https://lzon.ca.
I like to code, to write, and to cook.
This account isn't automated, and I check it regularly. If you message me I'll try to respond.
#indieweb #smallweb #rss #blogging #personalweb
| URL | https://lzon.ca |
A maybe type for C++
Here’s an idea I had for a useful C++ class that adds a little syntactic sugar to null pointer checking.
https://lzon.ca/posts/tips/cpp-maybe-type/
#IndieWeb #PersonalWeb #Blog #TechTips #Programming #Cpp #CPlusPlus
Minor site update
I've updated the games section of my /uses page, including support for inline gifs/videos.
I've been working on a new project and haven't had time to write, so I
wanted to do something small that I could publish. Check it out!
A result type for C++
I wrote my own version of the very useful ‘result type’ pattern for C++.
https://lzon.ca/posts/tips/cpp-result-type/
#IndieWeb #PersonalWeb #Blog #TechTips #Programming #Cpp #CPlusPlus
I've added a few new photos to an old post I made about Chip Nuts.
If you haven't already, check it out!
https://lzon.ca/posts/series/grateful/chip-nuts/
#IndieWeb #PersonalWeb #Blog #Ontario #CanadianFood #LocalFood #Peanuts
YouTube channels worth following
Here’s a few good Youtube channels that you may find interesting.
https://lzon.ca/posts/other/good-youtube-channels/
#IndieWeb #PersonalWeb #Blog #Technology #Linux #YouTube #Recommendations
A hack for Zola SSG feed templates
Here’s an interesting little hack I discovered for the Zola static site generator.
https://lzon.ca/posts/tips/zola-feed-hack/
#IndieWeb #PersonalWeb #Blog #ZolaSSG #StaticSiteGenerator #WebDev
News & Feeds
This is what I’ve been working recently on the site.
https://lzon.ca/posts/site/news-feed-update/
Answer is A
Yes, this is valid, see [class.union.anon]p2: https://eel.is/c++draft/class.union.anon#2
"An anonymous union declared in the scope of a namespace with external linkage shall use the storage-class-specifier static"
Gratitude for an Open Android
Today I’m grateful for the open Android operating system.
https://lzon.ca/posts/series/grateful/keep-android-open/
#IndieWeb #PersonalWeb #Blog #KeepAndroidOpen #Android #Google #RightToRepair
How to make a single instance program in C++
I just discovered a neat trick for enforcing a single instance of a C++ program.
https://lzon.ca/posts/tips/cpp-single-instance/
#IndieWeb #PersonalWeb #Blog #TechTips #Programming #Cpp #CPlusPlus