Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/nikita/Documents/shad-cpp/hash-table/concurrent_hash_map.h:98:129: error: wrong number of template arguments (2, should be 3)
- using MapPType = typename std::conditional<is_const, typename ConcurrentHashMap const* const, typename ConcurrentHashMap* const>::type;
- ^
- In file included from /usr/include/c++/8.2.1/bits/move.h:55,
- from /usr/include/c++/8.2.1/bits/stl_pair.h:59,
- from /usr/include/c++/8.2.1/bits/stl_algobase.h:64,
- from /usr/include/c++/8.2.1/bits/char_traits.h:39,
- from /usr/include/c++/8.2.1/string:40,
- from /home/nikita/Documents/shad-cpp/hash-table/test.cpp:1:
- /usr/include/c++/8.2.1/type_traits:92:12: note: provided for ‘template<bool <anonymous>, class, class> struct std::conditional’
- struct conditional;
- ^~~~~~~~~~~
- In file included from /home/nikita/Documents/shad-cpp/hash-table/test.cpp:12:
- /home/nikita/Documents/shad-cpp/hash-table/concurrent_hash_map.h:98:130: error: expected identifier before ‘::’ token
- using MapPType = typename std::conditional<is_const, typename ConcurrentHashMap const* const, typename ConcurrentHashMap* const>::type;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement