mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-11 02:25:59 +01:00
CMake minimal build and dependencies (#5013)
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <optional>
|
||||
|
||||
using namespace std::literals;
|
||||
|
||||
int main()
|
||||
{
|
||||
std::string str = "Try to compile";
|
||||
std::cout << str << '\n';
|
||||
std::optional<std::string> option;
|
||||
std::string str = "Try to compile"s;
|
||||
std::cout << str << " "s << option.has_value() << '\n';
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user