Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

gcc 9.1.0

Options
Warnings
Optimization
Boost 1.70.0
C++2a(GNU)
no pedantic

$ g++ prog.cc -Wall -Wextra -O2 -march=native -I/opt/wandbox/boost-1.70.0/gcc-9.1.0/include -std=gnu++2a
Normal function: 1328.91 ms
std::function<>: 3110.01 ms
FixPoint class: 1066.9 ms
FixPoint class (auto&&): 1248.62 ms
Fibonacci03 class: : 1360.75 ms
Exit Code:
0