• 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/functional/src/empty_function.cpp
1
//  Copyright (c) 2011 Thomas Heller
2
//  Copyright (c) 2013-2022 Hartmut Kaiser
3
//  Copyright (c) 2014 Agustin Berge
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
#include <hpx/functional/detail/empty_function.hpp>
10

11
#include <hpx/modules/errors.hpp>
12

13
namespace hpx::util::detail {
14

15
    [[noreturn]] void throw_bad_function_call()
×
16
    {
17
        hpx::throw_exception(hpx::error::bad_function_call,
×
18
            "empty function object should not be used",
19
            "empty_function::operator()");
20
    }
21
}    // namespace hpx::util::detail
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

© 2025 Coveralls, Inc