Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,6 @@ jobs:
container: ubuntu:24.04
os: ubuntu-latest
install: clang-19
- toolset: clang
cxxstd: "11,14,17,20,2b"
os: macos-13
- toolset: clang
cxxstd: "11,14,17,20,2b"
os: macos-14
Expand Down
32 changes: 15 additions & 17 deletions include/boost/flyweight/hashed_factory.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2006-2014 Joaquin M Lopez Munoz.
/* Copyright 2006-2025 Joaquin M Lopez Munoz.
* 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)
Expand Down Expand Up @@ -40,23 +40,21 @@ template<
>
class hashed_factory_class:public factory_marker
{
struct index_list:
boost::mpl::vector1<
multi_index::hashed_unique<
multi_index::identity<Entry>,
typename boost::mpl::if_<
mpl::is_na<Hash>,
hash<Key>,
Hash
>::type,
typename boost::mpl::if_<
mpl::is_na<Pred>,
std::equal_to<Key>,
Pred
>::type
>
typedef multi_index::indexed_by<
multi_index::hashed_unique<
multi_index::identity<Entry>,
typename boost::mpl::if_<
mpl::is_na<Hash>,
hash<Key>,
Hash
>::type,
typename boost::mpl::if_<
mpl::is_na<Pred>,
std::equal_to<Key>,
Pred
>::type
>
{};
> index_list;

typedef multi_index::multi_index_container<
Entry,
Expand Down