Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

C++ intrusive container templates. Abstract node links, no use of new/delete.

NotificationsYou must be signed in to change notification settings

wkaras/C-plus-plus-intrusive-container-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ intrusive container templates. Abstract node links, no use ofnew/delete (AVL tree, singly-linked list, bidirection list, hash tableavailable currently).

Also look at boost::instrusive, which is STL-compatible. Links under theBoost approach are unabstracted pointers. There is no function to builda balanced binary tree from a sequence, but you could port mine into theBoost lib pretty easily.

There are no throw statements in this code. But if you use abstractorclasses that throw exceptions, you must assume the data structure is in anundefined state after an exception is thrown. boost::instrusive, as wellas the STL, will restore the data structure to the pre-call state in theevent of an exception throw.

About

C++ intrusive container templates. Abstract node links, no use of new/delete.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2026 Movatter.jp