swift
Classes | Namespaces | Macros | Functions
sequence.h File Reference

Go to the source code of this file.

Classes

class  swift::misc::CSequence< T >
 Generic sequential container with value semantics. More...
 

Namespaces

 swift::misc
 Free functions in swift::misc.
 

Macros

#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)   SWIFT_TEMPLATE_SEQUENCE_MIXINS(Namespace, T, List, extern)
 Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the header that defines the class.
 
#define SWIFT_DEFINE_SEQUENCE_MIXINS(Namespace, T, List)   SWIFT_TEMPLATE_SEQUENCE_MIXINS(Namespace, T, List, )
 Explicit template definition of mixins for a CSequence subclass.
 

Functions

QVector< int > swift::misc::private_ns::findIndices (int size, const std::function< bool(int)> &predicate)
 Decouple finding from value type.
 
QVector< int > swift::misc::private_ns::sortIndices (int size, const std::function< bool(int, int)> &cmp)
 Decouple sorting from value type.