Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc: In function 'void detail::ProcessElement(long int)':
prog.cc:52:26: warning: unused parameter '_element' [-Wunused-parameter]
 void ProcessElement(long _element)
                     ~~~~~^~~~~~~~
prog.cc: In function 'void detail::ProcessElement(double)':
prog.cc:57:28: warning: unused parameter '_element' [-Wunused-parameter]
 void ProcessElement(double _element)
                     ~~~~~~~^~~~~~~~
prog.cc: In instantiation of 'static void detail::ProcessElementImpl<char [N]>::apply(const char (&)[N]) [with long unsigned int N = 10]':
prog.cc:49:33:   required from 'void detail::ProcessElement(const T&) [with T = char [10]]'
prog.cc:66:42:   required from 'void detail::ProcessDataImpl(const std::tuple<_Tps ...>&, std::index_sequence<I ...>) [with T = {char (&)[10], char (&)[70]}; long unsigned int ...I = {0, 1}; std::index_sequence<I ...> = std::integer_sequence<long unsigned int, 0, 1>]'
prog.cc:74:28:   required from 'void ProcessData(const std::tuple<_Tps ...>&) [with T = {char (&)[10], char (&)[70]}]'
prog.cc:80:34:   required from here
prog.cc:40:35: warning: unused parameter 'arr' [-Wunused-parameter]
     static void apply(const char(&arr)[N])
                       ~~~~~~~~~~~~^~~~~~~
prog.cc: In instantiation of 'static void detail::ProcessElementImpl<char [N]>::apply(const char (&)[N]) [with long unsigned int N = 70]':
prog.cc:49:33:   required from 'void detail::ProcessElement(const T&) [with T = char [70]]'
prog.cc:66:42:   required from 'void detail::ProcessDataImpl(const std::tuple<_Tps ...>&, std::index_sequence<I ...>) [with T = {char (&)[10], char (&)[70]}; long unsigned int ...I = {0, 1}; std::index_sequence<I ...> = std::integer_sequence<long unsigned int, 0, 1>]'
prog.cc:74:28:   required from 'void ProcessData(const std::tuple<_Tps ...>&) [with T = {char (&)[10], char (&)[70]}]'
prog.cc:80:34:   required from here
prog.cc:40:35: warning: unused parameter 'arr' [-Wunused-parameter]
prog.cc: In instantiation of 'static void detail::ProcessElementImpl<char [N]>::apply(const char (&)[N]) [with long unsigned int N = 6]':
prog.cc:49:33:   required from 'void detail::ProcessElement(const T&) [with T = char [6]]'
prog.cc:66:42:   required from 'void detail::ProcessDataImpl(const std::tuple<_Tps ...>&, std::index_sequence<I ...>) [with T = {long int&, long int&, char (&)[6], double&}; long unsigned int ...I = {0, 1, 2, 3}; std::index_sequence<I ...> = std::integer_sequence<long unsigned int, 0, 1, 2, 3>]'
prog.cc:74:28:   required from 'void ProcessData(const std::tuple<_Tps ...>&) [with T = {long int&, long int&, char (&)[6], double&}]'
prog.cc:82:34:   required from here
prog.cc:40:35: warning: unused parameter 'arr' [-Wunused-parameter]
Processing 2 data elements...
Process char array of size 10
Process char array of size 70
Processing 4 data elements...
Process a long
Process a long
Process char array of size 6
Process a double
Exit Code:
0