swift
Classes | Namespaces | Macros
mixinstring.h File Reference

Go to the source code of this file.

Classes

class  swift::misc::mixin::String< Derived >
 CRTP class template from which a derived class can inherit string streaming operations. 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_STRING(DERIVED)
 When a derived class and a base class both inherit from mixin::String, the derived class uses this macro to disambiguate the inherited members. More...
 

Macro Definition Documentation

◆ SWIFT_MISC_DECLARE_USING_MIXIN_STRING

#define SWIFT_MISC_DECLARE_USING_MIXIN_STRING (   DERIVED)
Value:
using ::swift::misc::mixin::String<DERIVED>::toQString; \
using ::swift::misc::mixin::String<DERIVED>::toStdString; \
using ::swift::misc::mixin::String<DERIVED>::stringForStreaming;

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

Definition at line 110 of file mixinstring.h.