Maerlyn's Rainbow
  • Blog
  • Online Judge

动手实现智能指针 (上篇) - C++ for the Antiquated(之四)

智能指针(如 std::shared_ptr 和 std::weak_ptr)已经成为现代 C++ 编程的重要工具,尽管它们并不算是“新兴”的特性。在 C++11 标准之前,Boost 库就已经引 …

more ...

std::visit实现运行时多态 - C++ for the Antiquated(之三)

在传统的 C++ 中,运行时多态 通常依赖于 “接口 - 虚函数” 机制,通过抽象类、具体类与对象的设计来实现。这种多态方式通常被称 …

more ...

动手实现std::visit - C++ for the Antiquated(之二)

std::variant 与 std::visit

std::variant

std::variant 是 C++17 引入的类型安全的联合体(type-safe union),可以在多个预定义类型中存储任意一个值。与传统的 union 不同 …

more ...

constexpr详解 - C++ for the Antiquated(之一)

在这篇文章中,我们将深入讨论 C++ 中的常量表达式(constexpr)及其与传统的const常量的区别,并结合实际代码示例进行说明。同时,我 …

more ...

  • Social

    • github
    • rss
  • Tags

    • algorithm
    • 题解
    • cpp
    • 算法
    • phxrpc
    • codeforces
    • 一致性
    • multi-thread
    • interview
    • STUP
    • 闲聊
    • protocol
    • networking
    • multithread
    • modern cpp
    • 分布式系统
    • C++
    • Distributed System
    • thread
    • UDP
    • tcp
    • memory-barrier
    • 公开课
    • cas
    • rpc
    • storage
    • System Design
    • 数据库
    • SPIN
    • Google
    • Solution
    • paxos
    • cmpxchg
    • async
    • raft
    • induction
    • azure
    • leetcode
    • SPIN/Promela
    • basic paxos
    • ucontext
    • CSE351
    • 3D printing
    • Promela
    • storage system
    • 多线程
    • bw-tree
    • litmus
    • geometry
    • wait-free
    • twisted
    • Racket
    • std::function
    • Data Center Management
    • Consistency
    • message queue
    • mq
    • AtCoder
    • rocksdb
    • Compare-ans-Swap
    • 容斥原理
    • Microsoft
    • WSL
    • b-tree
    • Autopilot
    • mosca
    • bbr
    • Computational geometry
    • a2b
    • powershell
    • modern C++
    • WAS
    • 主从复制
    • PL
    • herd7
    • FIFO
    • Data Center
    • Queue
    • pecificA
    • system
    • wisckey
    • userscript
    • CAP
    • Functional Programming
    • defer
    • workflowy
    • Ceph
    • Borg
    • 计数
    • csharp
    • MESI
    • OCaml
    • multi paxos
    • non-blocking
    • leveldb
    • parallel
    • lsm-tree
    • BitTorrent
    • Kubernetes
    • game
  • Links

    • Pelican

© 2025 Wizmann · Powered by pelican-bootstrap3, Pelican, Bootstrap

Back to top