Chatterino
chatterino2
src
util
SharedPtrElementLess.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <memory>
4
5
namespace
chatterino
{
6
7
template
<
typename
T>
8
struct
SharedPtrElementLess
{
9
bool
operator()
(
const
std::shared_ptr<T> &a,
10
const
std::shared_ptr<T> &b)
const
11
{
12
return
a->operator<(*b);
13
}
14
};
15
16
}
// namespace chatterino
chatterino
Definition:
Application.cpp:48
chatterino::SharedPtrElementLess
Definition:
SharedPtrElementLess.hpp:8
chatterino::SharedPtrElementLess::operator()
bool operator()(const std::shared_ptr< T > &a, const std::shared_ptr< T > &b) const
Definition:
SharedPtrElementLess.hpp:9
Generated by
1.8.13