Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 1.30 KB | None | 0 0
  1. /home/nikita/Documents/shad-cpp/hash-table/concurrent_hash_map.h:98:129: error: wrong number of template arguments (2, should be 3)
  2.   using MapPType = typename std::conditional<is_const, typename ConcurrentHashMap const* const, typename ConcurrentHashMap* const>::type;
  3.                                                                                                                                  ^
  4. In file included from /usr/include/c++/8.2.1/bits/move.h:55,
  5.                  from /usr/include/c++/8.2.1/bits/stl_pair.h:59,
  6.                  from /usr/include/c++/8.2.1/bits/stl_algobase.h:64,
  7.                  from /usr/include/c++/8.2.1/bits/char_traits.h:39,
  8.                  from /usr/include/c++/8.2.1/string:40,
  9.                  from /home/nikita/Documents/shad-cpp/hash-table/test.cpp:1:
  10. /usr/include/c++/8.2.1/type_traits:92:12: note: provided for ‘template<bool <anonymous>, class, class> struct std::conditional’
  11.      struct conditional;
  12.             ^~~~~~~~~~~
  13. In file included from /home/nikita/Documents/shad-cpp/hash-table/test.cpp:12:
  14. /home/nikita/Documents/shad-cpp/hash-table/concurrent_hash_map.h:98:130: error: expected identifier before ‘::’ token
  15.   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