distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
SortedIntrusiveList.hpp File Reference

SortedIntrusiveList template class header. More...

#include "estd/IntrusiveList.hpp"
#include <algorithm>
Include dependency graph for SortedIntrusiveList.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  estd::SortedIntrusiveList< Compare, T, NodePointer, U >
 SortedIntrusiveList class is an IntrusiveList with sorted elements. More...
 
struct  estd::SortedIntrusiveList< Compare, T, NodePointer, U >::Implementation
 Implementation struct is used primarily for "Empty Base Optimization" with Compare type. More...
 

Namespaces

 estd
 Collection of useful templates.
 

Functions

template<typename Compare , typename T , IntrusiveListNode T::* NodePointer, typename U = T>
void estd::swap (SortedIntrusiveList< Compare, T, NodePointer, U > &left, SortedIntrusiveList< Compare, T, NodePointer, U > &right)
 Swaps contents of two lists. More...
 

Detailed Description

SortedIntrusiveList template class header.

Author
Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.