Compare commits

..

4 Commits

Author SHA1 Message Date
Peter Dimov
d4fbf446b9 Merge branch 'master' into develop 2021-06-10 01:30:49 +03:00
Peter Dimov
9579999506 Update CMakeLists.txt 2021-06-10 01:21:06 +03:00
Glen Fernandes
adf0d87681 Update test case to not call allocator's max_size 2021-02-15 22:33:13 -05:00
Edward Diener
2b15dc6044 Add "cxxstd" json field 2021-01-19 17:48:41 -05:00
3 changed files with 8 additions and 6 deletions

View File

@@ -4,9 +4,9 @@
# Distributed under the Boost Software License, Version 1.0.
# (http://www.boost.org/LICENSE_1_0.txt)
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.5...3.20)
project(BoostCircularBuffer LANGUAGES CXX)
project(boost_circular_buffer VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
add_library(boost_circular_buffer INTERFACE)
@@ -22,4 +22,5 @@ target_link_libraries(boost_circular_buffer INTERFACE
Boost::move
Boost::static_assert
Boost::throw_exception
Boost::type_traits)
Boost::type_traits
)

View File

@@ -10,5 +10,6 @@
],
"maintainers": [
"Jan Gaspar <jano_gaspar -at- yahoo.com>"
]
],
"cxxstd": "03"
}

View File

@@ -246,9 +246,9 @@ void allocator_test() {
CB_CONTAINER<MyInteger> cb1(10, 0);
const CB_CONTAINER<MyInteger> cb2(10, 0);
CB_CONTAINER<MyInteger>::allocator_type& alloc_ref = cb1.get_allocator();
(void)alloc_ref;
CB_CONTAINER<MyInteger>::allocator_type alloc = cb2.get_allocator();
alloc_ref.max_size();
alloc.max_size();
(void)alloc;
generic_test(cb1);