mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
27 lines
819 B
C++
27 lines
819 B
C++
|
//
|
||
|
// immer: immutable data structures for C++
|
||
|
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||
|
//
|
||
|
// This software is distributed under the Boost Software License, Version 1.0.
|
||
|
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||
|
//
|
||
|
|
||
|
#include <immer/set.hpp>
|
||
|
#include <immer/set_transient.hpp>
|
||
|
|
||
|
template <typename T,
|
||
|
typename Hash = std::hash<T>,
|
||
|
typename Eq = std::equal_to<T>>
|
||
|
using test_set_t = immer::set<T, Hash, Eq, immer::default_memory_policy, 6u>;
|
||
|
|
||
|
template <typename T,
|
||
|
typename Hash = std::hash<T>,
|
||
|
typename Eq = std::equal_to<T>>
|
||
|
using test_set_transient_t =
|
||
|
immer::set_transient<T, Hash, Eq, immer::default_memory_policy, 6u>;
|
||
|
|
||
|
#define SET_T test_set_t
|
||
|
#define SET_TRANSIENT_T test_set_transient_t
|
||
|
|
||
|
#include "generic.ipp"
|