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
    • leetcode
    • 数据库
    • thread
    • rpc
    • C++
    • multi-thread
    • tcp
    • 公开课
    • cas
    • memory-barrier
    • 一致性
    • storage
    • Distributed System
    • multithread
    • STUP
    • 数据系统
    • UDP
    • modern cpp
    • System Design
    • interview
    • 闲聊
    • networking
    • protocol
    • induction
    • basic paxos
    • Google
    • Solution
    • CSE351
    • storage system
    • 数据密集型应用系统
    • 多线程
    • SPIN/Promela
    • 3D printing
    • ucontext
    • cmpxchg
    • raft
    • paxos
    • Promela
    • SPIN
    • azure
    • async
    • hash
    • lsm-tree
    • bbr
    • partitioning
    • dp
    • Functional Programming
    • a2b
    • multi paxos
    • Queue
    • std::function
    • BitTorrent
    • litmus
    • 分布式事务
    • leveldb
    • wisckey
    • 数据编码
    • excrt
    • 数据模型
    • 索引结构
    • Data Center
    • game
    • Data Center Management
    • FIFO
    • Autopilot
    • wait-free
    • WSL
    • AtCoder
    • bw-tree
    • PL
    • Kubernetes
    • MESI
    • Ceph
    • pecificA
    • crt
    • 计数
    • modern C++
    • Computational geometry
    • 容斥原理
    • Borg
    • 主从复制
    • repartitioning
    • geometry
    • rocksdb
    • Racket
    • OCaml
    • powershell
    • nosql
    • math
    • system
    • herd7
    • Compare-and-Swap
    • non-blocking
  • Links

    • Pelican

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

Back to top