Ataraxia through Epoché
Symphilosophein 狂者進取,狷者有所不為也。
Oct 2, 2025
[Algorithm] branchless binary search
›
template <class ForwardIt, class T, class Compare> ForwardIt branchless_lower_bound(ForwardIt first, ForwardIt last, const T& valu...
Sep 28, 2025
[C++] coroutine cheat sheet - 2
›
Reference: [C++] coroutine cheat sheet - 1 https://reductor.dev/cpp/2023/08/10/the-downsides-of-coroutines.html#how-normal-functions-and-the...
[C++] Aggregate initialization takes base type's constructor regardless of `using base::base`
›
Bite by this constructor resolution rule: 1) D is an aggregate From [dcl.init.aggr] §11.6.2/1 (C++23 draft N4950): An aggregate is an ar...
Sep 23, 2025
[C++][Cppcon 2025] Concept-based Generic Programming - Bjarne Stroustrup
›
Reference: Concept-based Generic Programming - Bjarne Stroustrup - CppCon 2025 Concepts are functions OOP Focused on defining type of object...
Sep 20, 2025
[C++] brace init. disallows narrow conversion, use it for building up can_narrow concept.
›
1) brace init. disallows narrow conversion 2) `requires` can only have expression, declaration is not allowed. (i.e. T t; is not allowed, b...
Sep 17, 2025
[C++][P2738R1] constexpr cast from void*: towards constexpr type-erasure
›
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2738r1.pdf Purpose: Storing void* instead of a concrete type is a commonly used co...
Sep 4, 2025
[posix] getenv/setenv/unsetenv are thread-safe (MT-safe) since glibc 2.41
›
https://man7.org/linux/man-pages/man3/getenv.3.html
›
Home
View web version