Сравнение постов

Различия между постами #265596 (04.10.2022 13:12) и #272857 (28.02.2024 08:45).
1
#include "utility/basic_app.hpp"
2
3
class test: public utility::basic_app
4
{
5
	using app = utility::basic_app;
6
7
public:
8
	test()
9
		: app(2048)
10
	{
11
	}
12
13
	int main_loop()
14
	{
15
		for (std::size_t i = 0; i < 1000000; ++i)
16
		{
17
			app::info("test") << "App - " << i;
18
		}
19
		return 0;
20
	}
21
};
22
23
int main(int argc, char* argv[])
24
{
25
	test app_;
26
27
	return app_.main(argc, argv);