Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
comparable.h File Reference
#include <cstddef>
#include <functional>
#include <map>
#include <memory>
#include <type_traits>

Go to the source code of this file.

Classes

struct  impeller::UniqueID
 
class  impeller::ComparableBase
 
class  impeller::Comparable< Type >
 
struct  impeller::ComparableHash< ComparableType, class >
 
struct  impeller::ComparableEqual< ComparableType, class >
 
struct  std::hash< impeller::UniqueID >
 
struct  std::less< impeller::UniqueID >
 

Namespaces

namespace  impeller
 
namespace  std
 

Functions

template<class ComparableType , class = std::enable_if_t<std::is_base_of_v<ComparableBase, ComparableType>>>
bool impeller::DeepComparePointer (const std::shared_ptr< ComparableType > &lhs, const std::shared_ptr< ComparableType > &rhs)
 
template<class Key , class ComparableType , class = std::enable_if_t<std::is_base_of_v<ComparableBase, ComparableType>>>
bool impeller::DeepCompareMap (const std::map< Key, std::shared_ptr< ComparableType > > &lhs, const std::map< Key, std::shared_ptr< ComparableType > > &rhs)