-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'boostorg:develop' into push_back
- Loading branch information
Showing
14 changed files
with
354 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Copyright René Ferdinand Rivera Morell 2023-2024 | ||
# Distributed under the Boost Software License, Version 1.0. | ||
# (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
require-b2 5.2 ; | ||
|
||
constant boost_dependencies : | ||
/boost/assert//boost_assert | ||
/boost/config//boost_config | ||
/boost/container_hash//boost_container_hash | ||
/boost/core//boost_core | ||
/boost/integer//boost_integer | ||
/boost/move//boost_move | ||
/boost/static_assert//boost_static_assert | ||
/boost/throw_exception//boost_throw_exception ; | ||
|
||
project /boost/dynamic_bitset | ||
: common-requirements | ||
<include>include | ||
; | ||
|
||
explicit | ||
[ alias boost_dynamic_bitset : : : : <library>$(boost_dependencies) ] | ||
[ alias all : boost_dynamic_bitset example test ] | ||
; | ||
|
||
call-if : boost-library dynamic_bitset | ||
; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,5 @@ | |
"maintainers": [ | ||
"Jeremy Siek <jeremy.siek -at- gmail.com>" | ||
], | ||
"cxxstd": "03" | ||
"cxxstd": "11" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright 2021-2024 Alexander Grund | ||
# Distributed under the Boost Software License, Version 1.0. | ||
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt | ||
|
||
cmake_minimum_required(VERSION 3.5...3.16) | ||
|
||
project(cmake_subdir_test LANGUAGES CXX) | ||
|
||
# Those 2 should work the same | ||
# while using find_package for the installed Boost avoids the need to manually specify dependencies | ||
if(BOOST_CI_INSTALL_TEST) | ||
find_package(boost_dynamic_bitset REQUIRED) | ||
else() | ||
set(BOOST_INCLUDE_LIBRARIES dynamic_bitset) | ||
add_subdirectory(../../../.. deps/boost EXCLUDE_FROM_ALL) | ||
endif() | ||
|
||
add_executable(main main.cpp) | ||
target_link_libraries(main Boost::dynamic_bitset) | ||
|
||
enable_testing() | ||
add_test(NAME main COMMAND main) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include <boost/dynamic_bitset.hpp> | ||
|
||
int main() | ||
{ | ||
const boost::dynamic_bitset<> db{3, 4}; | ||
|
||
return db[2] ? 0 : 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters