|
Base Module
VST 3.6.5
SDK for developing VST Plug-in
|
Extends IPtr to allow comparison in containers. More...
#include <fcontainer.h>
Inheritance diagram for FComparablePtr< I >:Public Member Functions | |
| FComparablePtr (I *_ptr, bool addRef=true) | |
| FComparablePtr (const FComparablePtr &p) | |
| FComparablePtr () | |
| template<class T2 > | |
| FComparablePtr (const T2 &t2) | |
| bool | operator== (const FComparablePtr< I > &other) const |
| bool | operator!= (const FComparablePtr< I > &other) const |
Extends IPtr to allow comparison in containers.
When an implementation of FObject defines operators== and a lookup in a container should compare object data instead of addresses, FComparablePtr can be used instead of IPtr.
Example:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |