Skip to content

Commit 7afb97a

Browse files
committed
.
1 parent 4ea2eb4 commit 7afb97a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

cpp.fp/optional/optional.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using namespace std;
99
using namespace literals;
1010

1111
template <typename T>
12-
using vector_opt = vector<optional<T>>;
12+
using vector_ex = vector<optional<T>>;
1313

1414
auto to_int(string_view s) -> optional<int>
1515
{
@@ -21,7 +21,7 @@ auto to_int(string_view s) -> optional<int>
2121

2222
int main(int argc, char* argv[])
2323
{
24-
vector_opt<string> v = { "1234", "15 foo", "bar", "42", "5000", " 5" };
24+
vector_ex<string> v = { "1234", "15 foo", "bar", "42", "5000", " 5" };
2525

2626
// NOTICE
2727
// transform == fmap (map)

cpp.fp/squarions/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
cmake_minimum_required(VERSION 3.28)
1+
cmake_minimum_required(VERSION 3.30)
22

33
project(main)
44

5-
set (CMAKE_CXX_STANDARD 23)
5+
set (CMAKE_CXX_STANDARD 26)
66
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
77

88
set (SOURCES

0 commit comments

Comments
 (0)