You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The title is self-explanatory. I'm unable to trace back the source of the issue (e.g. compiler version) and the documentation isn't very exhaustive in this regard so I thought I'd ask here. I would appreciate any help.
Compiler trace (excerpt):
>> komi@DESKTOP:(...)/utils/data-reader$ make
main.cpp:44:43: error: template argument 2 is invalid
44 | bool contains(string key, map<string, byte> mymap) {
| ^
main.cpp:44:43: error: template argument 4 is invalid
main.cpp:44:43: error: template argument 2 is invalid
main.cpp:44:43: error: template argument 4 is invalid
main.cpp:44:43: error: template argument 2 is invalid
main.cpp:44:43: error: template argument 4 is invalid
main.cpp:44:27: error: invalid template-id
44 | bool contains(string key, map<string, byte> mymap) {
| ^~~
main.cpp:44:39: error: reference to ‘byte’ is ambiguous
44 | bool contains(string key, map<string, byte> mymap) {
| ^~~~
main.cpp:44:27: error: class template placeholder ‘std::map’ not permitted in this context
44 | bool contains(string key, map<string, byte> mymap) {
| ^~~
main.cpp: In function ‘bool contains(...)’:
main.cpp:45:25: error: template argument 2 is invalid
45 | map<string, byte>::iterator it = mymap.find(key);
| ^
( ... )
Some environment information:
Ubuntu 22.04.4 LTS
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
BoostLib Version: 1.74.0.3ubuntu7
I have had no problems running make and executing the example for the sequential CPU fast version. Only having issues with the data reader.
Cheers
The text was updated successfully, but these errors were encountered:
The title is self-explanatory. I'm unable to trace back the source of the issue (e.g. compiler version) and the documentation isn't very exhaustive in this regard so I thought I'd ask here. I would appreciate any help.
Compiler trace (excerpt):
Some environment information:
I have had no problems running make and executing the example for the sequential CPU fast version. Only having issues with the data reader.
Cheers
The text was updated successfully, but these errors were encountered: