LCOV - code coverage report
Current view: top level - issm-precice - compiler.hpp (source / functions) Hit Total Coverage
Test: issm-precice-test-coverage.info Lines: 2 2 100.0 %
Date: 2025-07-12 23:40:24 Functions: 1 1 100.0 %

          Line data    Source code
       1             : // SPDX-FileCopyrightText: 2024 Daniel Abele <daniel.abele@dlr.de>
       2             : //
       3             : // SPDX-License-Identifier: BSD-3-Clause
       4             : 
       5             : #pragma once
       6             : 
       7             : namespace ipc
       8             : {
       9             : 
      10             : /**
      11             :  * Mark a variable as unused.
      12             :  * Avoids compiler diagnostics about unused variables, e.g., due to conditional
      13             :  * compilation.
      14             :  * Prefer not declaring the variable at all or unnamed function parameters. 
      15             :  */
      16           4 : template<class... T> void maybe_unused(T&&...)
      17             : {
      18           4 : }
      19             : 
      20             : } // namespace ipc

Generated by: LCOV version 1.14