ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
allocator.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2//
3// Created by Eduard Valeyev on 5/11/21.
4//
5
6#ifndef TTG_SERIALIZATION_STD_ALLOCATOR_H
7#define TTG_SERIALIZATION_STD_ALLOCATOR_H
8
10
11#ifdef TTG_SERIALIZATION_SUPPORTS_BOOST
12
13namespace ttg::detail {
14 template <typename Archive, typename T>
15 inline static constexpr bool is_boost_serializable_v<Archive, std::allocator<T>> = is_boost_archive_v<Archive>;
16 template <typename Archive, typename T>
17 inline static constexpr bool is_boost_serializable_v<Archive, const std::allocator<T>> = is_boost_archive_v<Archive>;
18} // namespace ttg::detail
19
20#endif // TTG_SERIALIZATION_SUPPORTS_BOOST
21
22#endif // TTG_SERIALIZATION_STD_ALLOCATOR_H