Initial commit

This commit is contained in:
Ваше Имя
2025-09-25 13:01:43 +04:00
commit ad9b11cdbd
3 changed files with 37 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#include <boost/asio.hpp>
#include <iostream>
int main()
{
std::cout << "Hello, Boost + C++23 + xmake!\n";
boost::asio::io_context io;
boost::asio::steady_timer timer(io, std::chrono::seconds(1));
timer.async_wait([](const boost::system::error_code &) {
std::cout << "Timer fired after 1 second!\n";
});
io.run();
return 0;
}