|
swift
|
Go to the source code of this file.
Classes | |
| class | swift::misc::CSequence< T > |
| Generic sequential container with value semantics. More... | |
Namespaces | |
| namespace | swift::misc |
| Free functions in swift::misc. | |
Macros | |
| #define | SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List) |
| 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) |
| 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. | |
| #define SWIFT_DECLARE_SEQUENCE_MIXINS | ( | Namespace, | |
| T, | |||
| List ) |
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the header that defines the class.
Definition at line 62 of file sequence.h.
| #define SWIFT_DEFINE_SEQUENCE_MIXINS | ( | Namespace, | |
| T, | |||
| List ) |
Explicit template definition of mixins for a CSequence subclass.
Definition at line 63 of file sequence.h.
| SWIFT_MISC_EXPORT SWIFT_NO_INLINE QVector< int > swift::misc::private_ns::findIndices | ( | int | size, |
| const std::function< bool(int)> & | predicate ) |
Decouple finding from value type.
Definition at line 12 of file sequence.cpp.
| SWIFT_MISC_EXPORT SWIFT_NO_INLINE QVector< int > swift::misc::private_ns::sortIndices | ( | int | size, |
| const std::function< bool(int, int)> & | cmp ) |
Decouple sorting from value type.
Definition at line 20 of file sequence.cpp.