Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

gcc HEAD 14.0.0 20231228 (experimental)

Options
Warnings
Don't Use Boost
C++2b(GNU)
no pedantic

$ g++ prog.cc -Wall -Wextra -std=gnu++2b
STL alogorithms
vector<int> c{1, 2, 3, 4, 5, 6, 7};
remove_if
for_each
5 6 7 

function objects
func1: 10
func2: 10

Emulate `recursive lambda` calls:
Fibonacci numbers: 
0 1 1 2 3 5 8 13 

Launching thread
hello, world!
Exit Code:
0