swift
Classes | Namespaces | Macros
mixinindex.h File Reference

Go to the source code of this file.

Classes

class  swift::misc::mixin::Index< Derived >
 CRTP class template from which a derived class can inherit property indexing functions. More...
 

Namespaces

 swift::misc
 Free functions in swift::misc.
 
 swift::misc::mixin
 Mixin classes which implement common operations for value classes.
 

Macros

#define SWIFT_MISC_DECLARE_USING_MIXIN_INDEX(DERIVED)
 When a derived class and a base class both inherit from mixin::Index, the derived class uses this macro to disambiguate the inherited members. More...
 

Macro Definition Documentation

◆ SWIFT_MISC_DECLARE_USING_MIXIN_INDEX

#define SWIFT_MISC_DECLARE_USING_MIXIN_INDEX (   DERIVED)
Value:
using ::swift::misc::mixin::Index<DERIVED>::apply; \
using ::swift::misc::mixin::Index<DERIVED>::setPropertyByIndex; \
using ::swift::misc::mixin::Index<DERIVED>::propertyByIndex; \
using ::swift::misc::mixin::Index<DERIVED>::comparePropertyByIndex; \
using ::swift::misc::mixin::Index<DERIVED>::equalsPropertyByIndex;

When a derived class and a base class both inherit from mixin::Index, the derived class uses this macro to disambiguate the inherited members.

Definition at line 151 of file mixinindex.h.