Language
C++
Compiler
clang 7.0.0
Options
Warnings
Boost 1.69.0
C++17
no pedantic
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-7.0.0/include -std=c++17
Exit Code:
0
Author
anonymous
over 6 years ago
C++
clang 7.0.0
Author
anonymous
over 6 years ago
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-7.0.0/include -std=c++17
prog.cc:12:46: warning: unused parameter 'word' [-Wunused-parameter]
std::optional<Result> search(const char *word)
^
prog.cc:21:35: warning: unused variable 'position' [-Wunused-variable]
decltype(abc.search("")->pos) position;
^
2 warnings generated.