mirror of
https://github.com/boostorg/circular_buffer.git
synced 2026-02-03 09:02:12 +00:00
Compare commits
4 Commits
boost-1.76
...
boost-1.77
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4fbf446b9 | ||
|
|
9579999506 | ||
|
|
adf0d87681 | ||
|
|
2b15dc6044 |
@@ -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
|
||||
)
|
||||
|
||||
@@ -10,5 +10,6 @@
|
||||
],
|
||||
"maintainers": [
|
||||
"Jan Gaspar <jano_gaspar -at- yahoo.com>"
|
||||
]
|
||||
],
|
||||
"cxxstd": "03"
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user