Reference-counted smart pointer. Use when you want to assign one raw pointer to multiple owners, for example, when you return a copy of a pointer from a container but want to keep the original. The raw pointer is not deleted until all shared_ptr owners have gone out of scope or have ...
a circular buffer view. [MIT] robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++14. [MIT] robin-map - Fast hash map and hash set using robin hood hashing. [MIT] sparsepp - A fast, memory efficient hash map for C++. [BSD 3-clause] sqlitemap...
a circular buffer view. [MIT] robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++14. [MIT] robin-map - Fast hash map and hash set using robin hood hashing. [MIT] sparsepp - A fast, memory efficient hash map for C++. [BSD 3-clause] st_tree...
circular buffer view. C++98- compatible. BSL-1.0 header-only; cmake strict_variant A realtime/embedded-friendly (i.e. -fno-exceptions/-fno-rtti compatible), never-empty variant targetting C++11. Fast, prevents many undesirable implicit conversions. BSL-1.0 cmake Ygg An intrusive C++11...
ClassMethodReferenceAmbiguous ClassMissing ClassPrivate ClassProtected ClassPublic ClassSealed ClassShortcut CleanData ClearBookmark ClearBreakpointGroup ClearCollection ClearDictionary ClearSort ClearWindowContent ClickOnce ClientStatistics CloakOrHide CloneToDesktop Cerrar CloseAll ClosedCaption CloseDocument CloseD...
LibTorrent(a.k.a. libtorrent-rakshasa) - BitTorrent library. [GPL] libutp- uTorrent Transport Protocol library. [MIT] Chemistry d-SEAMS- A molecular dynamics trajectory analysis engine in C++ and Lua with Nix. It is an acronym for Deferred Structural Elucidation Analysis for Molecular Simulations...
本文主要讨论四点内容,引用(reference)、拷贝(copy)、移动(move)和智能指针(smart pointer)。 本文代码地址 原文地址 引用 Cpp 首先讲 Cpp 的引用,我们都知道 Cpp 里引用分为左值引用(Lvalue Reference)和右值引用(Rvalue Reference),在这一部分我们主要讨论左值引用(右值引用放到后面的移动那一部分讨论)。 左值引用...
stdman - A tool that parses archived HTML files from cppreference and generates groff-formatted manual pages for Unix-based systems. [MIT] StringZilla - the Godzilla of string libraries, splitting, sorting, and shuffling large textual datasets faster than you can say "Tokyo Tower". [Apache-2....
if (true) { // WARNING: circular reference might cause memory leak (use std::weak_ptr in such cases) std::shared_ptr<T> member_variable; } else { // Is T a polymorphic class? // Note: T is polymorphic if it has virtual functions. if (true) { // Reason: polymorphism only works...
The information below is mainly for my reference. However, if you wish to duplicate the tests yourself out of interest or perhaps to develop a new test for the site, then the steps must be followed exactly, including replicating the process names. First layer...