Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

clang 7.0.0

Options
Warnings
Boost 1.68.0
C++17
-pedantic
Raw compiler options
Cat.cpp Dog.cpp Horse.cpp Llama.cpp AnimalCollection.cpp AnimalSerialization.cpp

Author

anonymous

over 6 years ago

Animal.h
VisitableAnimal.hpp
AnimalVisitor.hpp
Visitor.hpp
Cat.h
Dog.h
Cat.cpp
Dog.cpp
Horse.h
Llama.h
Horse.cpp
Llama.cpp
AnimalCollection.h
AnimalCollection.cpp
AnimalSerialization.h
AnimalSerialization.cpp
DoNothingAnimalVisitor.hpp

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-7.0.0/include -std=c++17 -pedantic Cat.cpp Dog.cpp Horse.cpp Llama.cpp AnimalCollection.cpp AnimalSerialization.cpp
cat
dog
horse
llama
Exit Code:
0