Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Intrusive list implementation and tests #40

Merged
merged 2 commits into from
May 8, 2016
Merged

Conversation

forGGe
Copy link
Collaborator

@forGGe forGGe commented May 7, 2016

Inspired by common practice in C-kernels and boost::intrusive
containers.

Provided version of a list is suitable for standard library algorithms
and range-for constructs. It also guarantees safety when deleting nodes
during iteration.

Intended to use in composing fashion.

@forGGe
Copy link
Collaborator Author

forGGe commented May 7, 2016

/cc @vadimol @rasendubi @GamovCoder

Inspired by common practice in C-kernels and boost::intrusive
containers.

Provided version of a list is suitable for standard library algorithms
and range-for constructs. It also guarantees safety when deleting nodes
during iteration.

Intended to use in composing fashion.
@forGGe forGGe force-pushed the intrusive_list_rel branch from e2d955f to 402a432 Compare May 7, 2016 22:16
//! Postfix version of the operatoris.
list_iter operator ++(int);

//! Moves back to the previous item in a list.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing, must be removed

List node's methods left inlined.
@forGGe forGGe force-pushed the intrusive_list_rel branch from 14c9dd3 to d94df5e Compare May 8, 2016 19:27
@forGGe forGGe merged commit d94df5e into develop May 8, 2016
forGGe added a commit that referenced this pull request May 8, 2016
Intrusive list implementation and tests
@forGGe forGGe mentioned this pull request May 8, 2016
@forGGe forGGe deleted the intrusive_list_rel branch May 8, 2016 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants