aboutsummaryrefslogtreecommitdiff
path: root/src/old/tests/confpair.cpp
blob: fb1b0d31da69bd8706abc4a460d84297c9bd2df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "confpair.h"
#include <iostream>

using namespace std;

int main()
{
	ConfPair<float> p1("DebugMode");
	p1.value() = 12;
	cout << p1.value() << "\n";
	p1.value() = 55;
	cout << p1.value() << "\n";

	ConfPairBase &p = p1;

	p = "33.12";
	cout << p.getAsString();
}