Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 8 years ago

Language

Compiler

Options

Author

anonymous

almost 8 years ago

$
prog.cc:8:20: error: inline declaration of 'typeToString<float>' follows non-inline definition
inline std::string typeToString<float>()
                   ^
prog.cc:8:20: note: previous definition is here
prog.cc:15:18: error: call to deleted function 'typeToString'
    std::cout << typeToString<float>() << std::endl;
                 ^~~~~~~~~~~~~~~~~~~
prog.cc:8:20: note: candidate function [with T = float] has been explicitly deleted
inline std::string typeToString<float>()
                   ^
2 errors generated.
Exit Code:
1