swift
Loading...
Searching...
No Matches
swift::misc::mixin::LessThanByMetaClass< Derived > Class Template Reference

CRTP class template from which a derived class can inherit operator< implemented by metaclass. More...

#include <mixincompare.h>

Inheritance diagram for swift::misc::mixin::LessThanByMetaClass< Derived >:
[legend]

Friends

bool operator< (const Derived &a, const Derived &b)
 Less than.
bool operator> (const Derived &a, const Derived &b)
 Greater than.
bool operator<= (const Derived &a, const Derived &b)
 Less than or equal.
bool operator>= (const Derived &a, const Derived &b)
 Greater than or equal.

Detailed Description

template<class Derived>
class swift::misc::mixin::LessThanByMetaClass< Derived >

CRTP class template from which a derived class can inherit operator< implemented by metaclass.

Definition at line 138 of file mixincompare.h.

◆ operator<

template<class Derived>
bool operator< ( const Derived & a,
const Derived & b )
friend

Less than.

Definition at line 142 of file mixincompare.h.

◆ operator<=

template<class Derived>
bool operator<= ( const Derived & a,
const Derived & b )
friend

Less than or equal.

Definition at line 148 of file mixincompare.h.

◆ operator>

template<class Derived>
bool operator> ( const Derived & a,
const Derived & b )
friend

Greater than.

Definition at line 145 of file mixincompare.h.

◆ operator>=

template<class Derived>
bool operator>= ( const Derived & a,
const Derived & b )
friend

Greater than or equal.

Definition at line 151 of file mixincompare.h.


The documentation for this class was generated from the following file: