Skip to content

Instantly share code, notes, and snippets.

@sbx320
Created June 25, 2017 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbx320/bda817b4b567414cd737f0d156165baf to your computer and use it in GitHub Desktop.
Save sbx320/bda817b4b567414cd737f0d156165baf to your computer and use it in GitHub Desktop.
../../modules/Network/vendor/RakNet/BitStream.cpp:1189:19: error: no matching function for call to 'begin'
std::copy(std::begin(other.stackData), std::end(other.stackData), this->stackData);
^~~~~~~~~~
/usr/sbin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/initializer_list:89:5: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'unsigned char *'
begin(initializer_list<_Tp> __ils) noexcept
^
../../modules/Network/vendor/RakNet/BitStream.cpp:1189:48: error: no matching function for call to 'end'
std::copy(std::begin(other.stackData), std::end(other.stackData), this->stackData);
^~~~~~~~
/usr/sbin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/initializer_list:99:5: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'unsigned char *'
end(initializer_list<_Tp> __ils) noexcept
^
../../modules/Network/vendor/RakNet/BitStream.cpp:1206:19: error: no matching function for call to 'begin'
std::copy(std::begin(other.stackData), std::end(other.stackData), this->stackData);
^~~~~~~~~~
/usr/sbin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/initializer_list:89:5: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'unsigned char *'
begin(initializer_list<_Tp> __ils) noexcept
^
../../modules/Network/vendor/RakNet/BitStream.cpp:1206:48: error: no matching function for call to 'end'
std::copy(std::begin(other.stackData), std::end(other.stackData), this->stackData);
^~~~~~~~
/usr/sbin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/initializer_list:99:5: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'unsigned char *'
end(initializer_list<_Tp> __ils) noexcept
^
4 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment