---
title: "#effective-modern-cpp articles | Hashnode"
description: "Explore 3 articles tagged #effective-modern-cpp on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/effective-modern-cpp"
---

Tag

# #effective-modern-cpp

3 posts · 1 followers

[Jayant Chowdhary](https://hashnode.com/@jayantc11) · [Nov 10, 2023](https://hashnode.com/posts/cpp-constexpr-and-constinit/654dd83822e36d0f7239365c)

### [C++: What are constexpr and constinit ?](https://learningtech.hashnode.dev/cpp-constexpr-and-constinit?utm_source=hashnode&utm_medium=feed)

C++ constinit constexpr

5 min read · [learningtech.hashnode.dev](https://learningtech.hashnode.dev/cpp-constexpr-and-constinit?utm_source=hashnode&utm_medium=feed)

[Subrat Kumar Swain](https://hashnode.com/@CPPWithSubrat) · [May 5, 2023](https://hashnode.com/posts/understanding-cpp-namespaces/64553db48a9020e5bc9bfb08)

### [Understanding C++ Namespaces](https://blogs.cppwithsubrat.com/understanding-cpp-namespaces?utm_source=hashnode&utm_medium=feed)

Master C++ namespaces, modularize code, ace interviews. Learn syntax, access methods, nested namespaces. Enhance skills at subratswain.com

2 min read · [blogs.cppwithsubrat.com](https://blogs.cppwithsubrat.com/understanding-cpp-namespaces?utm_source=hashnode&utm_medium=feed)

[qilingzhao](https://hashnode.com/@Zhao70) · [Jul 9, 2022](https://hashnode.com/posts/cpp-smart-pointer/62c93878bffc4694f5bc1c70)

### [C++智能指针](https://qilingzhao.com/cpp-smart-pointer?utm_source=hashnode&utm_medium=feed)

std::unique\_ptr 对于独占资源(exclusive-ownership resource)使用std::unique\_ptr，它禁止和其他智能指针共享对象 使用 与std::shared\_ptr只有单个对象形式不同, std::unique\_ptr有两种形式， 对于单个对象(std::unique\_ptr<T>), 对于数组(std::unique\_ptr<T\[\]>), 对于解引用操作符(operator\*和operator->)对于单个对象专有。 std::unique\_ptr<...

2 min read · [qilingzhao.com](https://qilingzhao.com/cpp-smart-pointer?utm_source=hashnode&utm_medium=feed)
