LCOV - code coverage report
Current view: top level - opt/homebrew/include/boost - visit_each.hpp (source / functions) Hit Total Coverage
Test: test_dash_coverage.info Lines: 6 6 100.0 %
Date: 2026-06-25 07:23:51 Functions: 10 36 27.8 %

          Line data    Source code
       1             : // Boost.Signals library
       2             : 
       3             : // Copyright Douglas Gregor 2001-2003. Use, modification and
       4             : // distribution is subject to the Boost Software License, Version
       5             : // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
       6             : // http://www.boost.org/LICENSE_1_0.txt)
       7             : 
       8             : // For more information, see http://www.boost.org/libs/signals
       9             : 
      10             : #ifndef BOOST_VISIT_EACH_HPP
      11             : #define BOOST_VISIT_EACH_HPP
      12             : 
      13             : namespace boost {
      14             :   template<typename Visitor, typename T>
      15         712 :   inline void visit_each(Visitor& visitor, const T& t, long)
      16             :   {
      17         712 :     visitor(t);
      18         712 :   }
      19             : 
      20             :   template<typename Visitor, typename T>
      21         712 :   inline void visit_each(Visitor& visitor, const T& t)
      22             :   {
      23         712 :     visit_each(visitor, t, 0);
      24         712 :   }
      25             : }
      26             : 
      27             : #endif // BOOST_VISIT_EACH_HPP

Generated by: LCOV version 1.16