- Jun 26, 2019
-
-
Marcin Ślusarz authored
[ 76%] Building CXX object tests/external/CMakeFiles/string_libcxx_modifiers_append_iterator.dir/libcxx/basic_string/string.modifiers/string_append/iterator.pass.cpp.o In file included from /home/mslusarz/pmem/libpmemobj-cpp/tests/external/libcxx/basic_string/string.modifiers/string_append/iterator.pass.cpp:15:0: /home/mslusarz/pmem/libpmemobj-cpp/tests/external/libcxx/basic_string/string.modifiers/string_append/../throwing_iterator.hpp:22:11: error: ‘ptrdiff_t’ does not name a type typedef ptrdiff_t difference_type; ^~~~~~~~~ In file included from /home/mslusarz/pmem/libpmemobj-cpp/tests/common/unittest.hpp:38:0, from /home/mslusarz/pmem/libpmemobj-cpp/tests/external/libcxx/basic_string/string.modifiers/string_append/iterator.pass.cpp:16: /home/mslusarz/pmem/libpmemobj-cpp/tests/common/iterators_support.hpp: In instantiation of ‘class test_support::forward_it<throwing_it<char> >’: /home/mslusarz/pmem/libpmemobj-cpp/tests/external/libcxx/basic_string/string.modifiers/string_append/iterator.pass.cpp:196:50: required from here /home/mslusarz/pmem/libpmemobj-cpp/tests/common/iterators_support.hpp:184:66: error: no type named ‘value_type’ in ‘struct std::iterator_traits<throwing_it<char> >’ using value_type = typename std::iterator_traits<It>::value_type; ^ /home/mslusarz/pmem/libpmemobj-cpp/tests/common/iterators_support.hpp:186:53: error: no type named ‘difference_type’ in ‘struct std::iterator_traits<throwing_it<char> >’ typename std::iterator_traits<It>::difference_type; ^ /home/mslusarz/pmem/libpmemobj-cpp/tests/common/iterators_support.hpp:187:60: error: no type named ‘pointer’ in ‘struct std::iterator_traits<throwing_it<char> >’ using pointer = typename std::iterator_traits<It>::pointer; ^ /home/mslusarz/pmem/libpmemobj-cpp/tests/common/iterators_support.hpp:188:64: error: no type named ‘reference’ in ‘struct std::iterator_traits<throwing_it<char> >’ using reference = typename std::iterator_traits<It>::reference; ^ -
Szymon Romik authored
bump clang version required for style check
-
Igor Chorążewicz authored
Merge back changes from stable 1.6
-
- Jun 25, 2019
-
-
Krzysztof Kajrewicz authored
-
Krzysztof Kajrewicz authored
Style check was conducted even if wrong clang-format version was detected because var was not removed from the cmake cache
-
Krzysztof Kajrewicz authored
-
- Jun 24, 2019
-
-
Szymon Romik authored
string: append, capacity, erase methods
-
Szymon Romik authored
[1.6] Mark allocation_flag constructor as explicit.
-
- Jun 19, 2019
-
-
Krzysztof Kajrewicz authored
-
Krzysztof Kajrewicz authored
Reason: it tests feature introduced with c++20
-
Krzysztof Kajrewicz authored
-
Krzysztof Kajrewicz authored
-
Krzysztof Kajrewicz authored
Call to erase(0) is ambiguous because literal 0 can be treated as integer or null-pointer constant. Hence equally good candidates in overload resultion are: - basic_string &erase(size_type index = 0, size_type count = npos) - iterator erase(const_iterator pos) We add helper functions to resolve the ambiguity
-
Krzysztof Kajrewicz authored
-
Krzysztof Kajrewicz authored
-
Krzysztof Kajrewicz authored
-
Szymon Romik authored
string: fix size of space needed for null terminator
-
- Jun 18, 2019
-
-
Igor Chorążewicz authored
Fix issue #322
-
Krzysztof Kajrewicz authored
-
Sergei Vinogradov authored
There is a mistake in the unit test itself. The test make wrong assumption that keys are ordered in the concurrent_hash_map. But concurrent_hash_map is unordered associative container.
-
Sergei Vinogradov authored
Wrong parameter is passed to constructor. When we create a new node, the last parameter should be previous head. But in internal_copy() method the b->tmp_node is passed by mistake. Assert caught the issue on Windows. The assert is raised only when more than one elements fit to the same bucket when we do internal_copy().
-
- Jun 14, 2019
-
-
Igor Chorazewicz authored
Having implicit constructor caused unexpected beahviour with make_persistent_array. For make_persistent version designed to work with sized arrays calling make_persistent<int[100]>(90) didn't failed as expected. Instead, '90' was implicitly converted to allocation_flag.
-
- Jun 12, 2019
-
-
Szymon Romik authored
Merge back changes from stable-1.6
-
Krzysztof Kajrewicz authored
[1.6] Add option to force define IS_TRIVIALLY_COPYABLE
-
Igor Chorążewicz authored
A typo fix.
-
- Jun 11, 2019
-
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Adam Borowski authored
-
- Jun 06, 2019
-
-
Krzysztof Kajrewicz authored
Merge back changes from stable 1.6
-
- Jun 04, 2019
-
-
Krzysztof Kajrewicz authored
Use libunwind
-
Igor Chorazewicz authored
-
Szymon Romik authored
Change logic for finding font in pmpong example.
-
Szymon Romik authored
Klockwork fixes
-
- Jun 03, 2019
-
-
Igor Chorazewicz authored
-
- May 30, 2019
-
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Krzysztof Kajrewicz authored
Add option to disable hashmap
-
Krzysztof Kajrewicz authored
[1.6] string: fix max_size() return value
-
- May 29, 2019
-
-
Szymon Romik authored
string: change sso_capacity so that sizeof(string) is always 32 bytes
-