Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 6 years ago

Language

C++

Compiler

clang 7.0.0

Options
Warnings
Boost 1.69.0
C++11
no pedantic

Author

anonymous

almost 6 years ago

block.hpp

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-7.0.0/include -std=c++11
prog.cc:9:16: error: out-of-line definition of 'parse' does not match any declaration in 'Block<std::__1::basic_string<char> >'
bool BlockStr::parse(int32_t index, const std::string& value)
               ^~~~~
prog.cc:15:15: error: out-of-line definition of 'parse' does not match any declaration in 'Block<unsigned short>'
bool Block16::parse(int32_t index, uint16_t value)
              ^~~~~
2 errors generated.
Exit Code:
1