LCOV - code coverage report
Current view: top level - libs/url/src/detail - vformat.cpp (source / functions) Hit Total Coverage
Test: coverage_filtered.info Lines: 4 4 100.0 %
Date: 2024-01-19 15:42:53 Functions: 1 1 100.0 %

          Line data    Source code
       1             : //
       2             : // Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com)
       3             : //
       4             : // Distributed under the Boost Software License, Version 1.0. (See accompanying
       5             : // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       6             : //
       7             : // Official repository: https://github.com/boostorg/url
       8             : //
       9             : 
      10             : #ifndef BOOST_URL_DETAIL_VFORMAT_IPP
      11             : #define BOOST_URL_DETAIL_VFORMAT_IPP
      12             : 
      13             : #include <boost/url/detail/config.hpp>
      14             : #include <boost/url/detail/vformat.hpp>
      15             : #include "pattern.hpp"
      16             : 
      17             : namespace boost {
      18             : namespace urls {
      19             : namespace detail {
      20             : 
      21             : void
      22         147 : vformat_to(
      23             :     url_base& u,
      24             :     core::string_view fmt,
      25             :     detail::format_args args)
      26             : {
      27         147 :     parse_pattern(fmt)
      28         147 :         .value().apply(u, args);
      29         136 : }
      30             : 
      31             : 
      32             : } // detail
      33             : } // urls
      34             : } // boost
      35             : 
      36             : #endif

Generated by: LCOV version 1.15