Xiahua
  • About
  • Posts
  • Tags
RVO (Return Value Optimization) and deleted move constructors pitfall.

The Surprising Case // filepath: rvo_example.cpp class Widget { public: Widget() = default; Widget(const Widget&) = default; // Copy … ...more

January 14, 2025 #Linux
Solve SIOF (Static Initialization Order Fiasco) with Meyer's Singleton.

What is SIOF? The Static Initialization Order Fiasco (SIOF) is a common C++ issue that occurs when initialization order of static objects across diffe… ...more

January 14, 2025 #Linux
Re-visit Sorting algorithms with C++.

All kinds of sorting algorithms, re-visited! Easiest Bubble Sort Bubble sort is the easiest sorting algorithm, it can be considered as an inferior ver… ...more

November 19, 2024 #C++ #Algorithm
12345 6
Recent
RVO (Return Value Optimization) and deleted move constructors pitfall.
Solve SIOF (Static Initialization Order Fiasco) with Meyer's Singleton.
Re-visit Sorting algorithms with C++.
LeetCode Graph Question Summary
LeetCode Binary Tree Question Summary
LeetCode Linked List Question Summary
Asynchronous Multi-Thread Design Pattern with C++
Type Conversions in C++ and Rust
Precision loss detection in control systems.
Understand routing and NAT with WireGuard VPN.
Ubuntu 24.04 LTS cloud server quick configuration.
Why is std::hash a struct?
Perfect forwarding in C++.
Avoid virtual functions in C++.
How to NOT nest your code.

About Contact Privacy Sitemap

© 2025 Xiahua

Powered by Zola & Abridge