aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/Proxy.h
blob: 89cb3c32e8e23bdd1069ca4e37d8b215fbd553e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "ValueBroker.h"

namespace crepe::util {

template <typename T>
class Proxy {
public:
	Proxy & operator = (const T &);
	operator const T & () const;

public:
	Proxy(ValueBroker<T>);

private:
	ValueBroker<T> broker;
};

}

#include "Proxy.hpp"