• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

STEllAR-GROUP / hpx / #882

31 Aug 2023 07:44PM UTC coverage: 41.798% (-44.7%) from 86.546%
#882

push

19442 of 46514 relevant lines covered (41.8%)

126375.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/libs/core/serialization/include/hpx/serialization/shared_ptr.hpp
1
//  Copyright (c) 2014 Thomas Heller
2
//  Copyright (c) 2014-2015 Anton Bikineev
3
//  Copyright (c) 2022-2025 Hartmut Kaiser
4
//
5
//  SPDX-License-Identifier: BSL-1.0
6
//  Distributed under the Boost Software License, Version 1.0. (See accompanying
7
//  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8

9
#pragma once
10

11
#include <hpx/config.hpp>
12
#include <hpx/serialization/config/defines.hpp>
13
#include <hpx/serialization/detail/pointer.hpp>
14
#include <hpx/serialization/macros.hpp>
15
#include <hpx/serialization/serialization_fwd.hpp>
16
#include <hpx/serialization/serialize.hpp>
17

18
#include <memory>
19

20
namespace hpx::serialization {
21

22
    HPX_CXX_EXPORT template <typename T>
23
    void load(input_archive& ar, std::shared_ptr<T>& ptr, unsigned)
24
    {
25
        detail::serialize_pointer_tracked(ar, ptr);
×
26
    }
27

28
    HPX_CXX_EXPORT template <typename T>
×
29
    void save(output_archive& ar, std::shared_ptr<T> const& ptr, unsigned)
30
    {
31
        detail::serialize_pointer_tracked(ar, ptr);
×
32
    }
33

34
    HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE(
×
35
        HPX_CXX_EXPORT, (template <typename T>), (std::shared_ptr<T>) )
36
}    // namespace hpx::serialization
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc