Skip to content

Commit

Permalink
Hiding implementations of std::get<> for hpx::util::future behind an …
Browse files Browse the repository at this point in the history
…ADL barrier

- adding option to disable the integration of hpx::tuple with std::tuple
- flyby: fixing default value for HPX_FILESYSTEM_WITH_BOOST_FILESYSTEM_COMPATIBILITY
  • Loading branch information
hkaiser committed Sep 25, 2019
1 parent 3299d77 commit 4f035dc
Show file tree
Hide file tree
Showing 7 changed files with 191 additions and 114 deletions.
15 changes: 15 additions & 0 deletions libs/datastructures/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@

cmake_minimum_required(VERSION 3.3.2 FATAL_ERROR)

# Compatibility with using Boost.FileSystem, introduced in V1.4.0
hpx_option(HPX_DATASTRUCTURES_WITH_ADAPT_STD_TUPLE
BOOL "Enable compatibility of hpx::util::tuple with std::tuple. (default: ON)"
ON ADVANCED CATEGORY "Modules")

if(HPX_DATASTRUCTURES_WITH_ADAPT_STD_TUPLE)
hpx_add_config_define_namespace(
DEFINE HPX_DATASTRUCTURES_HAVE_ADAPT_STD_TUPLE
NAMESPACE DATASTRUCTURES)
endif()

set(datastructures_headers
hpx/datastructures/any.hpp
hpx/datastructures/tuple.hpp
Expand Down Expand Up @@ -42,3 +53,7 @@ add_hpx_module(datastructures
hpx_type_support
CMAKE_SUBDIRS examples tests
)

if(HPX_DATASTRUCTURES_WITH_ADAPT_STD_TUPLE)
hpx_info(" Adapted hpx::util::tuple to be usable with std::tuple")
endif()
Loading

0 comments on commit 4f035dc

Please sign in to comment.